python-capstone: init at 3.0.4

This commit is contained in:
Benno Fünfstück 2016-10-02 15:40:38 +02:00
parent fd8e5bf117
commit f0fa27a1c2

View file

@ -2136,6 +2136,31 @@ in modules // {
};
};
capstone = buildPythonPackage rec {
name = "capstone-3.0.4";
src = pkgs.fetchurl {
url = "mirror://pypi/c/capstone/${name}.tar.gz";
sha256 = "945d3b8c3646a1c3914824c416439e2cf2df8969dd722c8979cdcc23b40ad225";
};
patches = [
(pkgs.fetchpatch {
stripLen = 2;
url = "https://patch-diff.githubusercontent.com/raw/aquynh/capstone/pull/783/commits/23fe9f36622573c747e2bab6119ff245437bf276.patch";
sha256 = "0yizqrdlxqxn16873593kdx2vrr7gvvilhgcf9xy6hr0603d3m5r";
})
];
postPatch = ''
patchShebangs src/make.sh
'';
propagatedBuildInputs = [ ];
meta = with pkgs.stdenv.lib; {
homepage = "http://www.capstone-engine.org/";
license = licenses.bsdOriginal;
description = "Capstone disassembly engine";
maintainers = with maintainers; [ bennofs ];
};
};
cgroup-utils = buildPythonPackage rec {
version = "0.6";
name = "cgroup-utils-${version}";