nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 38 lines 1.0 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5}: 6 7# Note: this package is used for bootstrapping fetchurl, and thus 8# cannot use fetchpatch! All mutable patches (generated by GitHub or 9# cgit) that are needed here should be included directly in Nixpkgs as 10# files. 11 12stdenv.mkDerivation rec { 13 pname = "patchelf"; 14 version = "0.15.2"; 15 16 src = fetchurl { 17 url = "https://github.com/NixOS/${pname}/releases/download/${version}/${pname}-${version}.tar.bz2"; 18 sha256 = "sha256-F3RfVkFZyOIo/EEtplogSLhGxLa0Igt3y/IkFuAvLXw="; 19 }; 20 21 strictDeps = true; 22 23 setupHook = [ ./setup-hook.sh ]; 24 25 enableParallelBuilding = true; 26 27 # fails 8 out of 24 tests, problems when loading libc.so.6 28 doCheck = stdenv.name == "stdenv-linux"; 29 30 meta = { 31 homepage = "https://github.com/NixOS/patchelf"; 32 license = lib.licenses.gpl3Plus; 33 description = "Small utility to modify the dynamic linker and RPATH of ELF executables"; 34 mainProgram = "patchelf"; 35 maintainers = [ ]; 36 platforms = lib.platforms.all; 37 }; 38}