Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
941 B · 47 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, fetchPypi, findutils, krb5-c, pythonOlder, setuptools, replaceVars,}:
buildPythonPackage rec { pname = "k5test"; version = "0.10.4"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-4VJJHmYC9qk7PVM9OHvUWQ8kdgk7aEIXD/C5PeZL7zA="; };
patches = [ (replaceVars ./fix-paths.patch { inherit findutils; krb5 = krb5-c; # krb5-config is in dev output krb5Dev = krb5-c.dev; }) ];
nativeBuildInputs = [ setuptools ];
# No tests doCheck = false;
pythonImportsCheck = [ "k5test" ];
meta = with lib; { description = "Library for setting up self-contained Kerberos 5 environment"; homepage = "https://github.com/pythongssapi/k5test"; changelog = "https://github.com/pythongssapi/k5test/releases/tag/v${version}"; license = licenses.mit; maintainers = [ ]; };}