Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python310Packages.lcgit: init at 0.2.0

+44
+42
pkgs/development/python-modules/lcgit/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pytestCheckHook 5 + , pythonOlder 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "lcgit"; 10 + version = "0.2.0"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "cisagov"; 17 + repo = "lcgit"; 18 + rev = "refs/tags/v${version}"; 19 + hash = "sha256-MYRqlfz2MRayBT7YGZmcyqJdoDRfENmgxk/TmhyoAlQ="; 20 + }; 21 + 22 + postPatch = '' 23 + substituteInPlace pytest.ini \ 24 + --replace " --cov" "" 25 + ''; 26 + 27 + nativeCheckInputs = [ 28 + pytestCheckHook 29 + ]; 30 + 31 + pythonImportsCheck = [ 32 + "lcgit" 33 + ]; 34 + 35 + meta = with lib; { 36 + description = "A 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 ]; 41 + }; 42 + }
+2
pkgs/top-level/python-packages.nix
··· 5292 5292 5293 5293 lc7001 = callPackage ../development/python-modules/lc7001 { }; 5294 5294 5295 + lcgit = callPackage ../development/python-modules/lcgit { }; 5296 + 5295 5297 lcov_cobertura = callPackage ../development/python-modules/lcov_cobertura { }; 5296 5298 5297 5299 ldap3 = callPackage ../development/python-modules/ldap3 { };