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
38 lines
897 B
Nix
38 lines
897 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
unstableGitUpdater,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "nampa";
|
|
version = "1.0-unstable-2024-12-18";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "thebabush";
|
|
repo = "nampa";
|
|
rev = "cb6a63aae64324f57bdc296064bc6aa2b99ff99a";
|
|
hash = "sha256-4NEfrx5cR6Zk713oBRZBe52mrbHKhs1doJFAdjnobig=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
# Not used for binaryninja as plugin
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "nampa" ];
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
meta = {
|
|
description = "Python implementation of the FLIRT technology";
|
|
homepage = "https://github.com/thebabush/nampa";
|
|
changelog = "https://github.com/thebabush/nampa/commits/cb6a63aae64324f57bdc296064bc6aa2b99ff99a/";
|
|
license = lib.licenses.lgpl3Only;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|