about summary refs log tree commit diff
path: root/pkgs/development/tools/misc/binutils/libopcodes.nix
blob: c8d3b78b29eb7f88f835d9731ab0f1c23a4a638e (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
{ lib, stdenv
, binutils-unwrapped-all-targets
}:

stdenv.mkDerivation {
  pname = "libopcodes";
  inherit (binutils-unwrapped-all-targets) version;

  dontUnpack = true;
  dontBuild = true;
  dontInstall = true;
  propagatedBuildInputs = [
    binutils-unwrapped-all-targets.dev
    binutils-unwrapped-all-targets.lib
  ];

  passthru = {
    inherit (binutils-unwrapped-all-targets) dev hasPluginAPI;
  };

  meta = with lib; {
    description = "Library from binutils for manipulating machine code";
    homepage = "https://www.gnu.org/software/binutils/";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ ericson2314 ];
    platforms = platforms.unix;
  };
}