blob: 80b62f1e44831fea09f6446e665d2571e9a36abb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{ lib
, buildPythonPackage
, fetchPypi
, substituteAll
, six
, krb5Full
, findutils
, which
}:
buildPythonPackage rec {
pname = "k5test";
version = "0.9.2";
src = fetchPypi {
inherit pname version;
sha256 = "1lqp3jgfngyhaxjgj3n230hn90wsylwilh120yjf62h7b1s02mh8";
};
patches = [
(substituteAll {
src = ./fix-paths.patch;
inherit findutils krb5Full;
# krb5-config is in dev output
krb5FullDev = krb5Full.dev;
which = "${which}/bin/which";
})
];
propagatedBuildInputs = [
six
];
# No tests
doCheck = false;
meta = with lib; {
description = "Library for setting up self-contained Kerberos 5 environment";
homepage = "https://github.com/pythongssapi/k5test";
license = licenses.mit;
maintainers = [ ];
};
}
|