1{ lib, stdenv
2, binutils-unwrapped-all-targets
3}:
4
5stdenv.mkDerivation {
6 pname = "libopcodes";
7 inherit (binutils-unwrapped-all-targets) version;
8
9 dontUnpack = true;
10 dontBuild = true;
11 dontInstall = true;
12 propagatedBuildInputs = [
13 binutils-unwrapped-all-targets.dev
14 binutils-unwrapped-all-targets.lib
15 ];
16
17 passthru = {
18 inherit (binutils-unwrapped-all-targets) dev hasPluginAPI;
19 };
20
21 meta = with lib; {
22 description = "A library from binutils for manipulating machine code";
23 homepage = "https://www.gnu.org/software/binutils/";
24 license = licenses.gpl3Plus;
25 maintainers = with maintainers; [ ericson2314 ];
26 platforms = platforms.unix;
27 };
28}