2023-05-25 14:52:27 +02:00
|
|
|
{ lib, python3Packages, fetchPypi }:
|
2023-03-16 07:36:13 +01:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "lesscpy";
|
2023-09-07 14:05:06 +02:00
|
|
|
version = "0.15.1";
|
2023-03-16 07:36:13 +01:00
|
|
|
|
2023-05-25 14:52:27 +02:00
|
|
|
src = fetchPypi {
|
2023-03-16 07:36:13 +01:00
|
|
|
inherit pname version;
|
2023-09-07 14:05:06 +02:00
|
|
|
sha256 = "sha256-EEXRepj2iGRsp1jf8lTm6cA3RWSOBRoIGwOVw7d8gkw=";
|
2023-03-16 07:36:13 +01: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";
|
2024-03-19 03:14:51 +01:00
|
|
|
mainProgram = "lesscpy";
|
2023-03-16 07:36:13 +01:00
|
|
|
homepage = "https://github.com/lesscpy/lesscpy";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ s1341 ];
|
|
|
|
};
|
|
|
|
}
|