1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pythonOlder,
6 setuptools,
7 unstableGitUpdater,
8}:
9
10buildPythonPackage rec {
11 pname = "nampa";
12 version = "1.0-unstable-2024-12-18";
13 pyproject = true;
14
15 disabled = pythonOlder "3.8";
16
17 src = fetchFromGitHub {
18 owner = "thebabush";
19 repo = "nampa";
20 rev = "cb6a63aae64324f57bdc296064bc6aa2b99ff99a";
21 hash = "sha256-4NEfrx5cR6Zk713oBRZBe52mrbHKhs1doJFAdjnobig=";
22 };
23
24 build-system = [ setuptools ];
25
26 # Not used for binaryninja as plugin
27 doCheck = false;
28
29 pythonImportsCheck = [ "nampa" ];
30
31 passthru.updateScript = unstableGitUpdater { };
32
33 meta = with lib; {
34 description = "Python implementation of the FLIRT technology";
35 homepage = "https://github.com/thebabush/nampa";
36 changelog = "https://github.com/thebabush/nampa/commits/cb6a63aae64324f57bdc296064bc6aa2b99ff99a/";
37 license = licenses.lgpl3Only;
38 maintainers = with maintainers; [ fab ];
39 };
40}