686ce24904
GitOrigin-RevId: ac1f5b72a9e95873d1de0233fddcb56f99884b37
28 lines
687 B
Nix
28 lines
687 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 = "A library from binutils for manipulating machine code";
|
|
homepage = "https://www.gnu.org/software/binutils/";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ ericson2314 ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|