depot/third_party/nixpkgs/pkgs/development/tools/misc/chrpath/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

25 lines
855 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "chrpath";
version = "0.16";
src = fetchurl {
url = "https://alioth-archive.debian.org/releases/${pname}/${pname}/${version}/${pname}-${version}.tar.gz";
sha256 = "0yvfq891mcdkf8g18gjjkn2m5rvs8z4z4cl1vwdhx6f2p9a4q3dv";
};
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://tracker.debian.org/pkg/chrpath";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}