nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 37 lines 733 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, pyvex 6}: 7 8buildPythonPackage rec { 9 pname = "ailment"; 10 version = "9.2.4"; 11 format = "pyproject"; 12 13 disabled = pythonOlder "3.6"; 14 15 src = fetchFromGitHub { 16 owner = "angr"; 17 repo = pname; 18 rev = "v${version}"; 19 hash = "sha256-YsH9QAKoM4WILabgLvEZMJXPfpkfn/h4tofNIcGJY+k="; 20 }; 21 22 propagatedBuildInputs = [ 23 pyvex 24 ]; 25 26 # Tests depend on angr (possibly a circular dependency) 27 doCheck = false; 28 29 #pythonImportsCheck = [ "ailment" ]; 30 31 meta = with lib; { 32 description = "The angr Intermediate Language"; 33 homepage = "https://github.com/angr/ailment"; 34 license = with licenses; [ bsd2 ]; 35 maintainers = with maintainers; [ fab ]; 36 }; 37}