feat(pkgs): Add dependencies
This commit is contained in:
parent
ca26ad4b28
commit
2078545f6d
3 changed files with 109 additions and 0 deletions
42
pkgs/django-browser-reload/default.nix
Normal file
42
pkgs/django-browser-reload/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
wheel,
|
||||
asgiref,
|
||||
django,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-browser-reload";
|
||||
version = "1.12.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "adamchainz";
|
||||
repo = "django-browser-reload";
|
||||
rev = version;
|
||||
hash = "sha256-IDIkAl6YYI3isDvpzCtAu4fLSr2gbjEvVW+K1WBDPbo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
asgiref
|
||||
django
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "django_browser_reload" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Automatically reload your browser in development";
|
||||
homepage = "https://github.com/adamchainz/django-browser-reload";
|
||||
changelog = "https://github.com/adamchainz/django-browser-reload/blob/${src.rev}/CHANGELOG.rst";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ thubrecht ];
|
||||
};
|
||||
}
|
32
pkgs/django-sass-processor-dart-sass/default.nix
Normal file
32
pkgs/django-sass-processor-dart-sass/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
wheel,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-sass-processor-dart-sass";
|
||||
version = "0.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-7IvMMIJ4NoMQQKvzsgPk4FesbNfPvRXqb86Gnx3OJos=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "sass" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A drop-in replacement for sass for use with django-sass-processor that uses dart sass rather than libsass";
|
||||
homepage = "https://pypi.org/project/django-sass-processor-dart-sass";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ thubrecht ];
|
||||
};
|
||||
}
|
35
pkgs/django-sass-processor/default.nix
Normal file
35
pkgs/django-sass-processor/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
wheel,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-sass-processor";
|
||||
version = "1.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jrief";
|
||||
repo = "django-sass-processor";
|
||||
rev = version;
|
||||
hash = "sha256-kDhCJ/V2xwLqw3k0W1NLxUrxbvjuKGclWyAuFpGVyQU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "sass_processor" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "SASS processor to compile SCSS files into *.css, while rendering, or offline";
|
||||
homepage = "https://github.com/jrief/django-sass-processor";
|
||||
changelog = "https://github.com/jrief/django-sass-processor/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ thubrecht ];
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue