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