1{
2 lib,
3 buildPythonPackage,
4 cryptography,
5 fetchPypi,
6 pythonOlder,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "winacl";
12 version = "0.1.9";
13 pyproject = true;
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-r3DC7DAXi/njyKHEjCXoeBI1/iwbMhrbRuLyrh+NSqs=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [ cryptography ];
25
26 # Project doesn't have tests
27 doCheck = false;
28
29 pythonImportsCheck = [ "winacl" ];
30
31 meta = with lib; {
32 description = "Python module for ACL/ACE/Security descriptor manipulation";
33 homepage = "https://github.com/skelsec/winacl";
34 changelog = "https://github.com/skelsec/winacl/releases/tag/${version}";
35 license = with licenses; [ mit ];
36 maintainers = with maintainers; [ fab ];
37 };
38}