Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
902 B · 42 lines
Nix
at gcc-offload
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "lcgit"; version = "1.0.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "cisagov"; repo = "lcgit"; rev = "refs/tags/v${version}"; hash = "sha256-aMwjgN9//jAnTYnbJJvQyfE/f+5QosKxF1l4vF+3myc="; };
postPatch = '' substituteInPlace pytest.ini \ --replace-fail " --cov" "" '';
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "lcgit" ];
meta = with lib; { description = "Pythonic Linear Congruential Generator iterator"; homepage = "https://github.com/cisagov/lcgit"; changelog = "https://github.com/cisagov/lcgit/releases/tag/v${version}"; license = licenses.cc0; maintainers = with maintainers; [ fab ]; };}