2023-07-15 17:15:38 +00:00
|
|
|
{ lib, python3Packages, fetchPypi }:
|
2023-04-12 12:48:02 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "lesscpy";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "0.15.1";
|
2023-04-12 12:48:02 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
src = fetchPypi {
|
2023-04-12 12:48:02 +00:00
|
|
|
inherit pname version;
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-EEXRepj2iGRsp1jf8lTm6cA3RWSOBRoIGwOVw7d8gkw=";
|
2023-04-12 12:48:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = with python3Packages; [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "lesscpy" ];
|
|
|
|
propagatedBuildInputs = with python3Packages; [ ply six ];
|
|
|
|
|
|
|
|
doCheck = false; # Really weird test failures (`nix-build-python2.css not found`)
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python LESS Compiler";
|
|
|
|
homepage = "https://github.com/lesscpy/lesscpy";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ s1341 ];
|
|
|
|
};
|
|
|
|
}
|