2023-10-09 19:29:22 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitLab
|
|
|
|
, autoreconfHook
|
|
|
|
, perl
|
|
|
|
, po4a
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "debianutils";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "5.20";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "salsa.debian.org";
|
|
|
|
owner = "debian";
|
|
|
|
repo = "debianutils";
|
|
|
|
rev = "debian/${finalAttrs.version}";
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-SBpB821LPyJhfWqhzQxMI50rTXlShU3ku85oRDla4cw=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
perl
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
})
|