about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/udis86/default.nix
blob: 1885d1a432239178045fc1c315feccbb3c7a54c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib, stdenv, fetchFromGitHub, autoreconfHook, python }:

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; {
    homepage = "http://udis86.sourceforge.net";
    license = licenses.bsd2;
    maintainers = with maintainers; [ timor ];
    description = ''
      Easy-to-use, minimalistic x86 disassembler library (libudis86)
    '';
    platforms = platforms.all;
  };
}