2023-08-15 10:59:31 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2023-09-16 01:32:35 +00:00
|
|
|
, fetchFromGitLab
|
|
|
|
, autoreconfHook
|
2023-09-22 07:42:16 +00:00
|
|
|
, perl
|
2023-09-16 01:32:35 +00:00
|
|
|
, po4a
|
2023-08-15 10:59:31 +00:00
|
|
|
}:
|
2017-01-09 05:41:06 +00:00
|
|
|
|
2023-08-15 10:59:31 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2019-07-12 17:02:06 +00:00
|
|
|
pname = "debianutils";
|
2024-06-09 05:50:15 +00:00
|
|
|
version = "5.18";
|
2017-01-09 05:41:06 +00:00
|
|
|
|
2023-09-16 01:32:35 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "salsa.debian.org";
|
|
|
|
owner = "debian";
|
|
|
|
repo = "debianutils";
|
|
|
|
rev = "debian/${finalAttrs.version}";
|
2024-06-09 05:50:15 +00:00
|
|
|
hash = "sha256-rZEDUwx8ldCTVUB1CqghYgaZ4kMGxWCtiFCdoxQDwpo=";
|
2017-01-09 05:41:06 +00:00
|
|
|
};
|
|
|
|
|
2023-09-16 01:32:35 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
2023-09-22 07:42:16 +00:00
|
|
|
perl
|
2023-09-16 01:32:35 +00:00
|
|
|
po4a
|
|
|
|
];
|
|
|
|
|
|
|
|
strictDeps = true;
|
|
|
|
|
2023-08-15 10:59:31 +00:00
|
|
|
outputs = [ "out" "man" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://packages.debian.org/sid/debianutils";
|
2017-01-09 05:41:06 +00:00
|
|
|
description = "Miscellaneous utilities specific to Debian";
|
|
|
|
longDescription = ''
|
2023-09-16 01:32:35 +00:00
|
|
|
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.
|
2017-01-09 05:41:06 +00:00
|
|
|
|
2023-09-16 01:32:35 +00:00
|
|
|
The specific utilities included are: add-shell installkernel ischroot
|
|
|
|
remove-shell run-parts savelog tempfile which
|
2017-01-09 05:41:06 +00:00
|
|
|
'';
|
2023-08-15 10:59:31 +00:00
|
|
|
license = with lib.licenses; [ gpl2Plus publicDomain smail ];
|
|
|
|
mainProgram = "ischroot";
|
|
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
|
|
platforms = lib.platforms.all;
|
2017-01-09 05:41:06 +00:00
|
|
|
};
|
2023-08-15 10:59:31 +00:00
|
|
|
})
|