nixpkgs/pkgs/development/libraries/capstone/default.nix
R. RyanTM d0ad9db017 capstone: 3.0.4 -> 3.0.5
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/capstone/versions.
2018-07-21 20:12:45 -07:00

30 lines
783 B
Nix

{ stdenv, fetchurl, bash, pkgconfig }:
stdenv.mkDerivation rec {
name = "capstone-${version}";
version = "3.0.5";
src = fetchurl {
url = "https://github.com/aquynh/capstone/archive/${version}.tar.gz";
sha256 = "1wbd1g3r32ni6zd9vwrq3kn7fdp9y8qwn9zllrrbk8n5wyaxcgci";
};
configurePhase = '' patchShebangs make.sh '';
buildPhase = '' ./make.sh '';
installPhase = '' env PREFIX=$out ./make.sh install '';
nativeBuildInputs = [
pkgconfig
];
enableParallelBuilding = 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 ];
};
}