Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 autoreconfHook, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "chrpath"; 10 version = "0.18"; 11 12 src = fetchurl { 13 url = "https://codeberg.org/pere/chrpath/archive/release-${version}.tar.gz"; 14 hash = "sha256-8JxJ8GGGYMoR/G2VgN3ekExyJNTG0Pby0fm83JECyao="; 15 }; 16 17 nativeBuildInputs = [ 18 autoreconfHook 19 ]; 20 21 meta = with lib; { 22 description = "Command line tool to adjust the RPATH or RUNPATH of ELF binaries"; 23 mainProgram = "chrpath"; 24 longDescription = '' 25 chrpath changes, lists or removes the rpath or runpath setting in a 26 binary. The rpath, or runpath if it is present, is where the runtime 27 linker should look for the libraries needed for a program. 28 ''; 29 homepage = "https://codeberg.org/pere/chrpath"; 30 license = licenses.gpl2Plus; 31 platforms = platforms.linux; 32 maintainers = [ maintainers.bjornfor ]; 33 }; 34}