dgsi/pkgs/django-sass-processor/default.nix

35 lines
817 B
Nix

{
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 ];
};
}