Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 46 lines 860 B view raw
1{ lib 2, buildPythonPackage 3, isPy3k 4, fetchPypi 5, pyasn1 6, pyasn1-modules 7, cxxfilt 8, msgpack 9, pycparser 10}: 11buildPythonPackage rec { 12 pname = "vivisect"; 13 version = "0.1.0"; 14 disabled = isPy3k; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "ed5e8c24684841d30dc7b41f2bee87c0198816a453417ae2e130b7845ccb2629"; 19 }; 20 21 propagatedBuildInputs = [ 22 pyasn1 23 pyasn1-modules 24 cxxfilt 25 msgpack 26 pycparser 27 ]; 28 29 preBuild = '' 30 sed "s@==.*'@'@" -i setup.py 31 ''; 32 33 # requires another repo for test files 34 doCheck = false; 35 36 pythonImportsCheck = [ 37 "vivisect" 38 ]; 39 40 meta = with lib; { 41 description = "Pure python disassembler, debugger, emulator, and static analysis framework"; 42 homepage = "https://github.com/vivisect/vivisect"; 43 license = licenses.asl20; 44 maintainers = teams.determinatesystems.members; 45 }; 46}