Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.05 24 lines 713 B view raw
1{ stdenv, lib, python3Packages }: 2 3python3Packages.buildPythonApplication rec { 4 pname = "lesscpy"; 5 version = "0.13.0"; 6 7 src = python3Packages.fetchPypi { 8 inherit pname version; 9 sha256 = "1bbjag13kawnjdn7q4flfrkd0a21rgn9ycfqsgfdmg658jsx1ipk"; 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}