nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 asn1crypto,
4 asysocks,
5 buildPythonPackage,
6 fetchPypi,
7 oscrypto,
8 setuptools,
9 six,
10 tqdm,
11 unicrypto,
12}:
13
14buildPythonPackage rec {
15 pname = "minikerberos";
16 version = "0.4.9";
17 pyproject = true;
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-CVqYChl2rf9Iw94fc9de/ps52nIU3HyJGiNjJAcWqec=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [
27 asn1crypto
28 asysocks
29 oscrypto
30 six
31 tqdm
32 unicrypto
33 ];
34
35 # no tests are published: https://github.com/skelsec/minikerberos/pull/5
36 doCheck = false;
37
38 pythonImportsCheck = [ "minikerberos" ];
39
40 meta = {
41 description = "Kerberos manipulation library in Python";
42 homepage = "https://github.com/skelsec/minikerberos";
43 changelog = "https://github.com/skelsec/minikerberos/releases/tag/${version}";
44 license = lib.licenses.mit;
45 maintainers = with lib.maintainers; [ fab ];
46 };
47}