nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 prompt-toolkit,
6 setuptools,
7 winacl,
8}:
9
10buildPythonPackage rec {
11 pname = "aiowinreg";
12 version = "0.0.13";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "skelsec";
17 repo = "aiowinreg";
18 tag = version;
19 hash = "sha256-vY5SrGTFH/xsv9k2WciE0xNx9r3W53sxxLGXFX34EuE=";
20 };
21
22 nativeBuildInputs = [ setuptools ];
23
24 propagatedBuildInputs = [
25 prompt-toolkit
26 winacl
27 ];
28
29 # Project doesn't have tests
30 doCheck = false;
31
32 pythonImportsCheck = [ "aiowinreg" ];
33
34 meta = {
35 description = "Python module to parse the registry hive";
36 homepage = "https://github.com/skelsec/aiowinreg";
37 changelog = "https://github.com/skelsec/aiowinreg/releases/tag/${version}";
38 license = with lib.licenses; [ mit ];
39 maintainers = with lib.maintainers; [ fab ];
40 mainProgram = "awinreg";
41 };
42}