forked from mirrors/nixpkgs
capstone: version 2.1.2
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
2ba552fb2e
commit
968740e0c1
22
pkgs/development/libraries/capstone/default.nix
Normal file
22
pkgs/development/libraries/capstone/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -576,6 +576,8 @@ let
|
|||
|
||||
ccnet = callPackage ../tools/networking/ccnet { };
|
||||
|
||||
capstone = callPackage ../development/libraries/capstone { };
|
||||
|
||||
ditaa = callPackage ../tools/graphics/ditaa { };
|
||||
|
||||
direnv = callPackage ../tools/misc/direnv { };
|
||||
|
|
Loading…
Reference in a new issue