python3Packages.claripy: init at 9.0.5739
This commit is contained in:
parent
1c7c55a94d
commit
dade516d24
52
pkgs/development/python-modules/claripy/default.nix
Normal file
52
pkgs/development/python-modules/claripy/default.nix
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, cachetools
|
||||||
|
, decorator
|
||||||
|
, fetchFromGitHub
|
||||||
|
, future
|
||||||
|
, nose
|
||||||
|
, pysmt
|
||||||
|
, pythonOlder
|
||||||
|
, pytestCheckHook
|
||||||
|
, z3
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "claripy";
|
||||||
|
version = "9.0.5739";
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "angr";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1aym01f99zwb9w8qwy8gz631ka7g6akzdld0m4ykc5ip0rq70mki";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Use upstream z3 implementation
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py --replace "z3-solver>=4.8.5.0" ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
cachetools
|
||||||
|
decorator
|
||||||
|
future
|
||||||
|
pysmt
|
||||||
|
z3
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
nose
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "claripy" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python abstraction layer for constraint solvers";
|
||||||
|
homepage = "https://github.com/angr/claripy";
|
||||||
|
license = with licenses; [ bsd2 ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -1281,6 +1281,8 @@ in {
|
|||||||
|
|
||||||
class-registry = callPackage ../development/python-modules/class-registry { };
|
class-registry = callPackage ../development/python-modules/class-registry { };
|
||||||
|
|
||||||
|
claripy = callPackage ../development/python-modules/claripy { };
|
||||||
|
|
||||||
cld2-cffi = callPackage ../development/python-modules/cld2-cffi { };
|
cld2-cffi = callPackage ../development/python-modules/cld2-cffi { };
|
||||||
|
|
||||||
cleo = callPackage ../development/python-modules/cleo { };
|
cleo = callPackage ../development/python-modules/cleo { };
|
||||||
|
Loading…
Reference in New Issue
Block a user