python3Packages.nampa: 1.0 -> 1.0-unstable-2024-12-18 (#419243)

This commit is contained in:
Fabian Affolter
2025-08-11 00:24:05 +02:00
committed by GitHub
@@ -2,14 +2,13 @@
lib,
buildPythonPackage,
fetchFromGitHub,
future,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "nampa";
version = "1.0";
version = "1.0-unstable-2024-12-18";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -17,20 +16,12 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "thebabush";
repo = "nampa";
tag = version;
hash = "sha256-ylDthh6fO0jKiYib0bed31Dxt4afiD0Jd5mfRKrsZpE=";
rev = "cb6a63aae64324f57bdc296064bc6aa2b99ff99a";
hash = "sha256-4NEfrx5cR6Zk713oBRZBe52mrbHKhs1doJFAdjnobig=";
};
postPatch = ''
# https://github.com/thebabush/nampa/pull/13
substituteInPlace setup.py \
--replace "0.1.1" "${version}"
'';
build-system = [ setuptools ];
dependencies = [ future ];
# Not used for binaryninja as plugin
doCheck = false;
@@ -39,7 +30,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python implementation of the FLIRT technology";
homepage = "https://github.com/thebabush/nampa";
changelog = "https://github.com/thebabush/nampa/releases/tag/${version}";
changelog = "https://github.com/thebabush/nampa/commits/cb6a63aae64324f57bdc296064bc6aa2b99ff99a/";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ fab ];
};