nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 718 B view raw
1{ 2 lib, 3 python3Packages, 4 fetchPypi, 5}: 6 7python3Packages.buildPythonPackage rec { 8 pname = "lesscpy"; 9 version = "0.15.1"; 10 pyproject = true; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-EEXRepj2iGRsp1jf8lTm6cA3RWSOBRoIGwOVw7d8gkw="; 15 }; 16 17 build-system = with python3Packages; [ setuptools ]; 18 19 dependencies = with python3Packages; [ 20 ply 21 six 22 ]; 23 24 nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; 25 26 pythonImportsCheck = [ "lesscpy" ]; 27 28 meta = { 29 description = "Python LESS Compiler"; 30 mainProgram = "lesscpy"; 31 homepage = "https://github.com/lesscpy/lesscpy"; 32 license = lib.licenses.mit; 33 maintainers = with lib.maintainers; [ s1341 ]; 34 }; 35}