mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
python310Packages.django-libsass: init at 0.9
This commit is contained in:
parent
80e3487ed4
commit
e1947d1cc2
48
pkgs/development/python-modules/django-libsass/default.nix
Normal file
48
pkgs/development/python-modules/django-libsass/default.nix
Normal file
@ -0,0 +1,48 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
|
||||
# dependencies
|
||||
, django-compressor
|
||||
, libsass
|
||||
|
||||
# tests
|
||||
, django
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-libsass";
|
||||
version = "0.9";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "torchbox";
|
||||
repo = "django-libsass";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-54AlRVmit0rtG1jx7O+XyA1vXLHCfoNPjHkHCQaaybA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
django-compressor
|
||||
libsass
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
django
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
${python.interpreter} ./runtests.py
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A django-compressor filter to compile SASS files using libsass";
|
||||
homepage = "https://github.com/torchbox/django-libsass";
|
||||
changelog = "https://github.com/torchbox/django-libsass/blob/${src.rev}/CHANGELOG.txt";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
@ -2693,6 +2693,8 @@ self: super: with self; {
|
||||
|
||||
django-js-reverse = callPackage ../development/python-modules/django-js-reverse { };
|
||||
|
||||
django-libsass = callPackage ../development/python-modules/django-libsass { };
|
||||
|
||||
django-logentry-admin = callPackage ../development/python-modules/django-logentry-admin { };
|
||||
|
||||
django-login-required-middleware = callPackage ../development/python-modules/django-login-required-middleware { };
|
||||
|
Loading…
Reference in New Issue
Block a user