about summary refs log tree commit diff
path: root/pkgs/development/python-modules/winsspi/default.nix
blob: d15ce8e261b5a2077ab3fc05cb0ece9baf2c40b4 (plain) (blame)
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
{ lib
, buildPythonPackage
, fetchPypi
, minikerberos
, pythonOlder
}:

buildPythonPackage rec {
  pname = "winsspi";
  version = "0.0.11";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-AXC6SJ+iWPGqTmdgoWKEbD8tDUUcg2aD609hO2bdQfM=";
  };

  propagatedBuildInputs = [
    minikerberos
  ];

  # Module doesn't have tests
  doCheck = false;

  pythonImportsCheck = [
    "winsspi"
  ];

  meta = with lib; {
    description = "Python module for ACL/ACE/Security descriptor manipulation";
    homepage = "https://github.com/skelsec/winsspi";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}