Unverified Commit 6b2fd58b authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

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

parents 6273d464 bc51c2f2
Loading
Loading
Loading
Loading
+4 −13
Original line number Diff line number Diff line
@@ -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 ];
  };