From e40c8a0d7d958a11751e1ee5ced16ace2540c271 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 3 Oct 2024 16:23:02 +0000 Subject: [PATCH 1/2] python312Packages.ropgadget: 7.4 -> 7.5 --- pkgs/development/python-modules/ropgadget/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ropgadget/default.nix b/pkgs/development/python-modules/ropgadget/default.nix index 53908cb4db73..898db65c03e2 100644 --- a/pkgs/development/python-modules/ropgadget/default.nix +++ b/pkgs/development/python-modules/ropgadget/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "ropgadget"; - version = "7.4"; + version = "7.5"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "JonathanSalwan"; repo = "ROPgadget"; rev = "refs/tags/v${version}"; - hash = "sha256-6m8opcTM4vrK+VCPXxNhZttUq6YmS8swLUDhjyfinWE="; + hash = "sha256-n7nVtR2HMAZeeSX/hNtDzmpEsnHbgDNO5gdzmPrgSuk="; }; propagatedBuildInputs = [ capstone ]; From 68307063be1b2fce2ac5fbd41cae21d60d889599 Mon Sep 17 00:00:00 2001 From: natsukium Date: Fri, 4 Oct 2024 22:01:55 +0900 Subject: [PATCH 2/2] python312Packages.ropgadget: switch to pypa builder --- pkgs/development/python-modules/ropgadget/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ropgadget/default.nix b/pkgs/development/python-modules/ropgadget/default.nix index 898db65c03e2..eba60378a796 100644 --- a/pkgs/development/python-modules/ropgadget/default.nix +++ b/pkgs/development/python-modules/ropgadget/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + setuptools, capstone, pythonOlder, }: @@ -9,7 +10,7 @@ buildPythonPackage rec { pname = "ropgadget"; version = "7.5"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -20,7 +21,9 @@ buildPythonPackage rec { hash = "sha256-n7nVtR2HMAZeeSX/hNtDzmpEsnHbgDNO5gdzmPrgSuk="; }; - propagatedBuildInputs = [ capstone ]; + build-system = [ setuptools ]; + + dependencies = [ capstone ]; # Test suite is working with binaries doCheck = false;