From 0d02f0bb4db6c3b5a54a9ef9ba1b4c7049ee8936 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Sun, 6 Oct 2024 20:09:10 +0200 Subject: [PATCH 1/2] chrpath: 0.16 -> 0.17 https://codeberg.org/pere/chrpath/releases/tag/release-0.17 The project moved to Codeberg since Alioth shut down. --- pkgs/development/tools/misc/chrpath/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/development/tools/misc/chrpath/default.nix b/pkgs/development/tools/misc/chrpath/default.nix index 32cb4864a357..3b8bba72578e 100644 --- a/pkgs/development/tools/misc/chrpath/default.nix +++ b/pkgs/development/tools/misc/chrpath/default.nix @@ -1,14 +1,18 @@ -{ lib, stdenv, fetchurl }: +{ lib, stdenv, fetchurl, autoreconfHook }: stdenv.mkDerivation rec { pname = "chrpath"; - version = "0.16"; + version = "0.17"; src = fetchurl { - url = "https://alioth-archive.debian.org/releases/${pname}/${pname}/${version}/${pname}-${version}.tar.gz"; - sha256 = "0yvfq891mcdkf8g18gjjkn2m5rvs8z4z4cl1vwdhx6f2p9a4q3dv"; + url = "https://codeberg.org/pere/chrpath/archive/release-${version}.tar.gz"; + hash = "sha256-Sh2syR9OrxyMP3Z/2IHrH+OlCaINBii/l2DZCsEkvQw="; }; + nativeBuildInputs = [ + autoreconfHook + ]; + meta = with lib; { description = "Command line tool to adjust the RPATH or RUNPATH of ELF binaries"; mainProgram = "chrpath"; @@ -17,7 +21,7 @@ stdenv.mkDerivation rec { 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"; + homepage = "https://codeberg.org/pere/chrpath"; license = licenses.gpl2; platforms = platforms.linux; maintainers = [ maintainers.bjornfor ]; From 12635d1918704bde5357279c80e1bf32b26cbd5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Wed, 9 Oct 2024 17:09:07 +0200 Subject: [PATCH 2/2] chrpath: clarify license https://codeberg.org/pere/chrpath/issues/1 --- pkgs/development/tools/misc/chrpath/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/misc/chrpath/default.nix b/pkgs/development/tools/misc/chrpath/default.nix index 3b8bba72578e..f4dc6d9148be 100644 --- a/pkgs/development/tools/misc/chrpath/default.nix +++ b/pkgs/development/tools/misc/chrpath/default.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { linker should look for the libraries needed for a program. ''; homepage = "https://codeberg.org/pere/chrpath"; - license = licenses.gpl2; + license = licenses.gpl2Plus; platforms = platforms.linux; maintainers = [ maintainers.bjornfor ]; };