Files
nixpkgs/pkgs/development/python-modules/aiowinreg/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

46 lines
929 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
prompt-toolkit,
pythonOlder,
setuptools,
winacl,
}:
buildPythonPackage rec {
pname = "aiowinreg";
version = "0.0.13";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "skelsec";
repo = "aiowinreg";
tag = version;
hash = "sha256-vY5SrGTFH/xsv9k2WciE0xNx9r3W53sxxLGXFX34EuE=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
prompt-toolkit
winacl
];
# Project doesn't have tests
doCheck = false;
pythonImportsCheck = [ "aiowinreg" ];
meta = {
description = "Python module to parse the registry hive";
homepage = "https://github.com/skelsec/aiowinreg";
changelog = "https://github.com/skelsec/aiowinreg/releases/tag/${version}";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
mainProgram = "awinreg";
};
}