summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/nampa/default.nix
blob: 654b893ff01dbea7cdecb52b20b08e57b5c5357d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
  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 ];
  };
}