Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / k5test / default.nix
blob80b62f1e44831fea09f6446e665d2571e9a36abb
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , substituteAll
5 , six
6 , krb5Full
7 , findutils
8 , which
9 }:
11 buildPythonPackage rec {
12   pname = "k5test";
13   version = "0.9.2";
15   src = fetchPypi {
16     inherit pname version;
17     sha256 = "1lqp3jgfngyhaxjgj3n230hn90wsylwilh120yjf62h7b1s02mh8";
18   };
20   patches = [
21     (substituteAll {
22       src = ./fix-paths.patch;
23       inherit findutils krb5Full;
24       # krb5-config is in dev output
25       krb5FullDev = krb5Full.dev;
26       which = "${which}/bin/which";
27     })
28   ];
30   propagatedBuildInputs = [
31     six
32   ];
34   # No tests
35   doCheck = false;
37   meta = with lib; {
38     description = "Library for setting up self-contained Kerberos 5 environment";
39     homepage = "https://github.com/pythongssapi/k5test";
40     license = licenses.mit;
41     maintainers = [ ];
42   };