core/pkgs/by-name/bi/binutils/libbfd.nix

29 lines
945 B
Nix
Raw Normal View History

2024-05-13 21:24:10 +00:00
{ lib, stdenv, binutils-unwrapped-all-targets }:
2024-05-02 00:46:19 +00:00
stdenv.mkDerivation {
pname = "libbfd";
inherit (binutils-unwrapped-all-targets) version;
dontUnpack = true;
dontBuild = true;
dontInstall = true;
2024-05-13 21:24:10 +00:00
propagatedBuildInputs =
[ binutils-unwrapped-all-targets.dev binutils-unwrapped-all-targets.lib ];
2024-05-02 00:46:19 +00:00
2024-05-13 21:24:10 +00:00
passthru = { inherit (binutils-unwrapped-all-targets) dev hasPluginAPI; };
2024-05-02 00:46:19 +00:00
meta = with lib; {
description = "A library for manipulating containers of machine code";
longDescription = ''
BFD is a library which provides a single interface to read and write
object files, executables, archive files, and core files in any format.
It is associated with GNU Binutils, and elsewhere often distributed with
it.
'';
homepage = "https://www.gnu.org/software/binutils/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ericson2314 ];
platforms = platforms.unix;
};
}