1{ lib, stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 pname = "chrpath";
5 version = "0.16";
6
7 src = fetchurl {
8 url = "https://alioth-archive.debian.org/releases/${pname}/${pname}/${version}/${pname}-${version}.tar.gz";
9 sha256 = "0yvfq891mcdkf8g18gjjkn2m5rvs8z4z4cl1vwdhx6f2p9a4q3dv";
10 };
11
12 meta = with lib; {
13 description = "Command line tool to adjust the RPATH or RUNPATH of ELF binaries";
14 longDescription = ''
15 chrpath changes, lists or removes the rpath or runpath setting in a
16 binary. The rpath, or runpath if it is present, is where the runtime
17 linker should look for the libraries needed for a program.
18 '';
19 homepage = "https://tracker.debian.org/pkg/chrpath";
20 license = licenses.gpl2;
21 platforms = platforms.linux;
22 maintainers = [ maintainers.bjornfor ];
23 };
24}