python3Packages.ropgadget: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-03-12 10:10:13 +01:00 committed by GitHub
parent 8078702f3d
commit 405e295cd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,17 +2,21 @@
, buildPythonPackage
, fetchFromGitHub
, capstone
, pythonOlder
}:
buildPythonPackage rec {
pname = "ropgadget";
version = "6.7";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "JonathanSalwan";
repo = "ROPgadget";
rev = "v${version}";
sha256 = "sha256-zOTbncsOvmLQMZGpcRLviSZP/d1cQTQHXCLUKyEgVBk=";
hash = "sha256-zOTbncsOvmLQMZGpcRLviSZP/d1cQTQHXCLUKyEgVBk=";
};
propagatedBuildInputs = [