1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 08:01:14 +00:00
nixpkgs/pkgs/development/libraries/capstone/default.nix

23 lines
619 B
Nix
Raw Normal View History

{ stdenv, fetchurl, bash, cmake }:
stdenv.mkDerivation rec {
name = "capstone-${version}";
version = "3.0.4";
src = fetchurl {
url = "hhttps://github.com/aquynh/capstone/archive/${version}.tar.gz";
sha256 = "1whl5c8j6vqvz2j6ay2pyszx0jg8d3x8hq66cvgghmjchvsssvax";
};
buildInputs = [ cmake ];
enableParallelBuild = true;
meta = {
description = "advanced disassembly library";
homepage = "http://www.capstone-engine.org";
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
};
}