1a04744f74
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
49 lines
918 B
Nix
49 lines
918 B
Nix
{
|
|
lib,
|
|
aiowinreg,
|
|
buildPythonPackage,
|
|
colorama,
|
|
fetchFromGitHub,
|
|
pycryptodomex,
|
|
setuptools,
|
|
tqdm,
|
|
unicrypto,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aesedb";
|
|
version = "0.1.8";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "skelsec";
|
|
repo = "aesedb";
|
|
tag = version;
|
|
hash = "sha256-YoeqxYkohAR6RaQYDXt7T00LCQDSb/o/ddxYRDGP/2s=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [
|
|
aiowinreg
|
|
colorama
|
|
pycryptodomex
|
|
tqdm
|
|
unicrypto
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "aesedb" ];
|
|
|
|
meta = {
|
|
description = "Parser for JET databases";
|
|
mainProgram = "antdsparse";
|
|
homepage = "https://github.com/skelsec/aesedb";
|
|
changelog = "https://github.com/skelsec/aesedb/releases/tag/${version}";
|
|
license = with lib.licenses; [ mit ];
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|