Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
887 B · 47 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, fetchFromGitHub, libsass, six, pytestCheckHook, werkzeug,}:
buildPythonPackage rec { pname = "libsass"; version = "0.23.0"; format = "setuptools";
src = fetchFromGitHub { owner = "sass"; repo = "libsass-python"; tag = version; hash = "sha256-CiSr9/3EDwpDEzu6VcMBAlm3CtKTmGYbZMnMEjyZVxI="; };
buildInputs = [ libsass ];
propagatedBuildInputs = [ six ];
preBuild = '' export SYSTEM_SASS=true; '';
nativeCheckInputs = [ pytestCheckHook werkzeug ];
enabledTestPaths = [ "sasstests.py" ];
pythonImportsCheck = [ "sass" ];
meta = { description = "Python binding for libsass to compile Sass/SCSS"; mainProgram = "pysassc"; homepage = "https://sass.github.io/libsass-python/"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sigmanificient ]; };}