Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
746 B · 37 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, fetchPypi, setuptools, callPackage,}:
buildPythonPackage rec { pname = "pbr"; version = "6.0.0"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-0TdxIqWgDi+UDuSCmZUY7+FtdF1COmcMJ3c9+8PJp9k="; };
nativeBuildInputs = [ setuptools ];
# check in passthru.tests.pytest to escape infinite recursion with fixtures doCheck = false;
passthru.tests = { tests = callPackage ./tests.nix { }; };
pythonImportsCheck = [ "pbr" ];
meta = with lib; { description = "Python Build Reasonableness"; mainProgram = "pbr"; homepage = "https://github.com/openstack/pbr"; license = licenses.asl20; maintainers = teams.openstack.members; };}