mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
33 lines
709 B
Nix
33 lines
709 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;
|
|
};
|
|
|
|
__structuredAttrs = true;
|
|
|
|
meta = {
|
|
description = "Library from binutils for manipulating machine code";
|
|
homepage = "https://www.gnu.org/software/binutils/";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = with lib.maintainers; [ ericson2314 ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|