diff options
author | timor <timor.dd@googlemail.com> | 2019-08-05 20:12:36 +0200 |
---|---|---|
committer | timor <timor.dd@googlemail.com> | 2019-08-31 16:38:26 +0200 |
commit | 09781e81c315cc4e9e079c5c96e3d0714fb7bcbd (patch) | |
tree | 21a0d65e1aa02edfc29231cb062d70d962bb323a /pkgs/development | |
parent | 236b44281197e2472367d16584923b98006be26b (diff) |
udis86: init at 1.7.2
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/tools/udis86/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/tools/udis86/default.nix b/pkgs/development/tools/udis86/default.nix new file mode 100644 index 0000000000000..6996d5bf13fac --- /dev/null +++ b/pkgs/development/tools/udis86/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchFromGitHub, autoreconfHook, python }: + +stdenv.mkDerivation rec { + pname = "udis86"; + version = "1.7.2"; + + src = fetchFromGitHub { + owner = "vmt"; + repo = "udis86"; + rev = "v${version}"; + url = "https://github.com/vmt/udis86/archive/v${version}.tar.gz"; + sha256 = "0c60zwimim6jrm4saw36s38w5sg5v8n9mr58pkqmjrlf7q9g6am1"; + }; + + nativeBuildInputs = [ autoreconfHook python ]; + + configureFlags = [ + "--enable-shared" + ]; + + outputs = [ "bin" "out" "dev" "lib" ]; + + meta = with stdenv.lib; { + homepage = "http://udis86.sourceforge.net"; + license = licenses.bsd2; + maintainers = with maintainers; [ timor ]; + description = '' + Easy-to-use, minimalistic x86 disassembler library (libudis86) + ''; + platforms = platforms.all ; + }; +} |