nixpkgs/pkgs/development/tools/udis86/default.nix

32 lines
715 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, python }:
2019-08-05 19:12:36 +01:00
stdenv.mkDerivation rec {
pname = "udis86";
version = "1.7.2";
src = fetchFromGitHub {
owner = "vmt";
repo = "udis86";
rev = "v${version}";
sha256 = "0c60zwimim6jrm4saw36s38w5sg5v8n9mr58pkqmjrlf7q9g6am1";
};
nativeBuildInputs = [ autoreconfHook python ];
configureFlags = [
"--enable-shared"
];
outputs = [ "bin" "out" "dev" "lib" ];
meta = with lib; {
2019-08-05 19:12:36 +01:00
homepage = "http://udis86.sourceforge.net";
license = licenses.bsd2;
maintainers = with maintainers; [ timor ];
description = ''
Easy-to-use, minimalistic x86 disassembler library (libudis86)
'';
2021-10-30 12:15:40 +01:00
platforms = platforms.all;
2019-08-05 19:12:36 +01:00
};
}