2024-10-11 05:15:48 +00:00
|
|
|
{ lib, stdenv, fetchurl, autoreconfHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-21 07:28:18 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "chrpath";
|
2024-10-11 05:15:48 +00:00
|
|
|
version = "0.17";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-10-11 05:15:48 +00:00
|
|
|
url = "https://codeberg.org/pere/chrpath/archive/release-${version}.tar.gz";
|
|
|
|
hash = "sha256-Sh2syR9OrxyMP3Z/2IHrH+OlCaINBii/l2DZCsEkvQw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-10-11 05:15:48 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Command line tool to adjust the RPATH or RUNPATH of ELF binaries";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "chrpath";
|
2020-04-24 23:36:52 +00:00
|
|
|
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.
|
|
|
|
'';
|
2024-10-11 05:15:48 +00:00
|
|
|
homepage = "https://codeberg.org/pere/chrpath";
|
|
|
|
license = licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|