1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-12 07:34:36 +00:00
nixpkgs/pkgs/development/libraries/capstone/default.nix
Frederik Rietdijk 013e96de0a
Merge pull request #43948 from r-ryantm/auto-update/capstone
capstone: 3.0.4 -> 3.0.5
2018-07-22 08:21:18 +02:00

30 lines
777 B
Nix

{ stdenv, fetchurl, 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 ];
};
}