1{ lib, python3Packages, fetchPypi }:
2
3python3Packages.buildPythonApplication rec {
4 pname = "lesscpy";
5 version = "0.15.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "sha256-EEXRepj2iGRsp1jf8lTm6cA3RWSOBRoIGwOVw7d8gkw=";
10 };
11
12 checkInputs = with python3Packages; [ pytestCheckHook ];
13 pythonImportsCheck = [ "lesscpy" ];
14 propagatedBuildInputs = with python3Packages; [ ply six ];
15
16 doCheck = false; # Really weird test failures (`nix-build-python2.css not found`)
17
18 meta = with lib; {
19 description = "Python LESS Compiler";
20 homepage = "https://github.com/lesscpy/lesscpy";
21 license = licenses.mit;
22 maintainers = with maintainers; [ s1341 ];
23 };
24}