90e7159c55
Auto-fix by nixf-diagnose.
41 lines
947 B
Nix
41 lines
947 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
setuptools,
|
|
unstableGitUpdater,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "nampa";
|
|
version = "1.0-unstable-2024-12-18";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
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 = with lib; {
|
|
description = "Python implementation of the FLIRT technology";
|
|
homepage = "https://github.com/thebabush/nampa";
|
|
changelog = "https://github.com/thebabush/nampa/commits/cb6a63aae64324f57bdc296064bc6aa2b99ff99a/";
|
|
license = licenses.lgpl3Only;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|