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