depot/third_party/nixpkgs/pkgs/development/tools/misc/chrpath/default.nix
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02:00

29 lines
885 B
Nix

{ lib, stdenv, fetchurl, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "chrpath";
version = "0.17";
src = fetchurl {
url = "https://codeberg.org/pere/chrpath/archive/release-${version}.tar.gz";
hash = "sha256-Sh2syR9OrxyMP3Z/2IHrH+OlCaINBii/l2DZCsEkvQw=";
};
nativeBuildInputs = [
autoreconfHook
];
meta = with lib; {
description = "Command line tool to adjust the RPATH or RUNPATH of ELF binaries";
mainProgram = "chrpath";
longDescription = ''
chrpath changes, lists or removes the rpath or runpath setting in a
binary. The rpath, or runpath if it is present, is where the runtime
linker should look for the libraries needed for a program.
'';
homepage = "https://codeberg.org/pere/chrpath";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}