2024-06-30 08:16:52 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
binutils-unwrapped-all-targets,
|
2024-05-02 00:46:19 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|