Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at master 774 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 unittestCheckHook, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "pyleri"; 12 version = "1.4.3"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "cesbit"; 19 repo = "pyleri"; 20 tag = version; 21 hash = "sha256-4t+6wtYzJbmL0TB/OXr89uZ2s8DeGlUdWwHd4YPsCW0="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 nativeCheckInputs = [ unittestCheckHook ]; 27 28 pythonImportsCheck = [ "pyleri" ]; 29 30 meta = with lib; { 31 description = "Module to parse SiriDB"; 32 homepage = "https://github.com/cesbit/pyleri"; 33 changelog = "https://github.com/cesbit/pyleri/releases/tag/${version}"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ fab ]; 36 }; 37}