depot/third_party/nixpkgs/pkgs/development/python-modules/claripy/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

54 lines
915 B
Nix

{ lib
, buildPythonPackage
, setuptools
, cachetools
, decorator
, fetchFromGitHub
, future
, pysmt
, pythonOlder
, pytestCheckHook
, z3-solver
}:
buildPythonPackage rec {
pname = "claripy";
version = "9.2.82";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "angr";
repo = "claripy";
rev = "refs/tags/v${version}";
hash = "sha256-veJd3M2Jf6snXZsR4P0wQpC0rSbIFT92QgyFFI5Er4Y=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
cachetools
decorator
future
pysmt
z3-solver
];
nativeCheckInputs = [
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 ];
};
}