2015-07-22 00:00:10 +02:00
|
|
|
{ stdenv, fetchurl, bash, cmake }:
|
2014-04-08 14:04:11 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "capstone-${version}";
|
2015-07-22 00:00:10 +02:00
|
|
|
version = "3.0.4";
|
2014-04-08 14:04:11 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-07-22 09:56:46 +02:00
|
|
|
url = "https://github.com/aquynh/capstone/archive/${version}.tar.gz";
|
2015-07-22 00:00:10 +02:00
|
|
|
sha256 = "1whl5c8j6vqvz2j6ay2pyszx0jg8d3x8hq66cvgghmjchvsssvax";
|
2014-04-08 14:04:11 +02:00
|
|
|
};
|
|
|
|
|
2015-07-22 00:00:10 +02:00
|
|
|
buildInputs = [ cmake ];
|
|
|
|
enableParallelBuild = true;
|
2014-04-08 14:04:11 +02:00
|
|
|
|
|
|
|
meta = {
|
2016-06-20 12:53:46 +02:00
|
|
|
description = "Advanced disassembly library";
|
2014-04-08 14:04:11 +02:00
|
|
|
homepage = "http://www.capstone-engine.org";
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2014-04-12 04:40:31 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-04-08 14:04:11 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
|
|
|
};
|
|
|
|
}
|