Merge pull request #255411 from atorres1985-contrib/debianutils

debianutils: 5.8 -> 5.13
This commit is contained in:
Fabián Heredia Montiel 2023-09-17 01:40:36 -06:00 committed by GitHub
commit 965047638c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 45 additions and 35 deletions

View File

@ -0,0 +1,45 @@
{ lib
, stdenv
, fetchFromGitLab
, autoreconfHook
, po4a
}:
stdenv.mkDerivation (finalAttrs: {
pname = "debianutils";
version = "5.13";
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.
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";
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.all;
};
})

View File

@ -1,33 +0,0 @@
{ lib
, stdenv
, fetchurl
}:
stdenv.mkDerivation (finalAttrs: {
pname = "debianutils";
version = "5.8";
src = fetchurl {
url = "mirror://debian/pool/main/d/debianutils/debianutils_${finalAttrs.version}.orig.tar.gz";
hash = "sha256-WwhtJ+uQY95NdGdg0PrrQNlGT7hV/IqOf7k7A+/OxiI=";
};
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.
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";
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.all;
};
})

View File

@ -7358,8 +7358,6 @@ with pkgs;
dcfldd = callPackage ../tools/system/dcfldd { };
debianutils = callPackage ../tools/misc/debianutils { };
debian-devscripts = callPackage ../tools/misc/debian-devscripts { };
debian-goodies = callPackage ../applications/misc/debian-goodies { };