summary refs log tree commit diff
path: root/pkgs/by-name
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2023-09-15 22:32:35 -0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-09-15 23:52:13 -0300
commita7393a3f58a47c8eb7526ee5ad36b197ad312928 (patch)
treeb3d0a337749cb9254dc2b9beb1ec333f435bedbf /pkgs/by-name
parent41ea5b3609dd28974beda9b660ac5ab84b7ac4f7 (diff)
downloadnixpkgs-a7393a3f58a47c8eb7526ee5ad36b197ad312928.tar
nixpkgs-a7393a3f58a47c8eb7526ee5ad36b197ad312928.tar.gz
nixpkgs-a7393a3f58a47c8eb7526ee5ad36b197ad312928.tar.bz2
nixpkgs-a7393a3f58a47c8eb7526ee5ad36b197ad312928.tar.lz
nixpkgs-a7393a3f58a47c8eb7526ee5ad36b197ad312928.tar.xz
nixpkgs-a7393a3f58a47c8eb7526ee5ad36b197ad312928.tar.zst
nixpkgs-a7393a3f58a47c8eb7526ee5ad36b197ad312928.zip
debianutils: 5.8 -> 5.13
Diffstat (limited to 'pkgs/by-name')
-rw-r--r--pkgs/by-name/de/debianutils/package.nix32
1 files changed, 22 insertions, 10 deletions
diff --git a/pkgs/by-name/de/debianutils/package.nix b/pkgs/by-name/de/debianutils/package.nix
index 4f5055cdc15..053c667d2ad 100644
--- a/pkgs/by-name/de/debianutils/package.nix
+++ b/pkgs/by-name/de/debianutils/package.nix
@@ -1,29 +1,41 @@
 { lib
 , stdenv
-, fetchurl
+, fetchFromGitLab
+, autoreconfHook
+, po4a
 }:
 
 stdenv.mkDerivation (finalAttrs: {
   pname = "debianutils";
-  version = "5.8";
+  version = "5.13";
 
-  src = fetchurl {
-    url = "mirror://debian/pool/main/d/debianutils/debianutils_${finalAttrs.version}.orig.tar.gz";
-    hash = "sha256-WwhtJ+uQY95NdGdg0PrrQNlGT7hV/IqOf7k7A+/OxiI=";
+  src = fetchFromGitLab {
+    domain = "salsa.debian.org";
+    owner = "debian";
+    repo = "debianutils";
+    rev = "debian/${finalAttrs.version}";
+    hash = "sha256-h6swRil0sldRaZT7/LMEmV6Ah3zoppiHeGO3xTJlrac=";
   };
 
+  nativeBuildInputs = [
+    autoreconfHook
+    po4a
+  ];
+
+  strictDeps = true;
+
   outputs = [ "out" "man" ];
 
   meta = {
     homepage = "https://packages.debian.org/sid/debianutils";
     description = "Miscellaneous utilities specific to Debian";
     longDescription = ''
-       This package provides a number of small utilities which are used
-       primarily by the installation scripts of Debian packages, although you
-       may use them directly.
+      This package provides a number of small utilities which are used primarily
+      by the installation scripts of Debian packages, although you may use them
+      directly.
 
-       The specific utilities included are: add-shell installkernel ischroot
-       remove-shell run-parts savelog tempfile which
+      The specific utilities included are: add-shell installkernel ischroot
+      remove-shell run-parts savelog tempfile which
     '';
     license = with lib.licenses; [ gpl2Plus publicDomain smail ];
     mainProgram = "ischroot";