587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
42 lines
799 B
Nix
42 lines
799 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, unittestCheckHook
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyleri";
|
|
version = "1.4.3";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cesbit";
|
|
repo = "pyleri";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-4t+6wtYzJbmL0TB/OXr89uZ2s8DeGlUdWwHd4YPsCW0=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
unittestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"pyleri"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Module to parse SiriDB";
|
|
homepage = "https://github.com/cesbit/pyleri";
|
|
changelog = "https://github.com/cesbit/pyleri/releases/tag/${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|