nixpkgs/pkgs/development/libraries/capstone/default.nix
Austin Seipp 968740e0c1 capstone: version 2.1.2
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2014-04-08 07:04:19 -05:00

22 lines
621 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "capstone-${version}";
version = "2.1.2";
src = fetchurl {
url = "http://www.capstone-engine.org/download/${version}/${name}.tgz";
sha256 = "1k6px3vdcsfby3lakss5sazs875kbzkzqk7cj79xrm2y5ik1vr29";
};
buildPhase = false;
installPhase = "PREFIX=$out ./make.sh install";
meta = {
description = "advanced disassembly library";
homepage = "http://www.capstone-engine.org";
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
};
}