10 buildPythonPackage rec {
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
20 rev = "refs/tags/v${version}";
21 hash = "sha256-aMwjgN9//jAnTYnbJJvQyfE/f+5QosKxF1l4vF+3myc=";
25 substituteInPlace pytest.ini \
26 --replace-fail " --cov" ""
29 build-system = [ setuptools ];
31 nativeCheckInputs = [ pytestCheckHook ];
33 pythonImportsCheck = [ "lcgit" ];
36 description = "Pythonic Linear Congruential Generator iterator";
37 homepage = "https://github.com/cisagov/lcgit";
38 changelog = "https://github.com/cisagov/lcgit/releases/tag/v${version}";
39 license = licenses.cc0;
40 maintainers = with maintainers; [ fab ];