depot/third_party/nixpkgs/pkgs/development/tools/misc/binutils/libopcodes.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

28 lines
685 B
Nix

{ 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;
};
}