nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 730 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 unittestCheckHook, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "pyleri"; 11 version = "1.5.0"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "cesbit"; 16 repo = "pyleri"; 17 tag = "v${version}"; 18 hash = "sha256-4t+6wtYzJbmL0TB/OXr89uZ2s8DeGlUdWwHd4YPsCW0="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 nativeCheckInputs = [ unittestCheckHook ]; 24 25 pythonImportsCheck = [ "pyleri" ]; 26 27 meta = { 28 description = "Module to parse SiriDB"; 29 homepage = "https://github.com/cesbit/pyleri"; 30 changelog = "https://github.com/cesbit/pyleri/releases/tag/${src.tag}"; 31 license = lib.licenses.mit; 32 maintainers = with lib.maintainers; [ fab ]; 33 }; 34}