2023-02-16 17:41:37 +00:00
|
|
|
{ lib, stdenv
|
|
|
|
, binutils-unwrapped-all-targets
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "libopcodes";
|
2023-02-16 17:41:37 +00:00
|
|
|
inherit (binutils-unwrapped-all-targets) version;
|
|
|
|
|
|
|
|
dontUnpack = true;
|
|
|
|
dontBuild = true;
|
|
|
|
dontInstall = true;
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
binutils-unwrapped-all-targets.dev
|
|
|
|
binutils-unwrapped-all-targets.lib
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2023-02-16 17:41:37 +00:00
|
|
|
passthru = {
|
|
|
|
inherit (binutils-unwrapped-all-targets) dev hasPluginAPI;
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|