depot/third_party/nixpkgs/pkgs/by-name/de/debianutils/package.nix

55 lines
1.2 KiB
Nix

{
lib,
stdenv,
fetchFromGitLab,
autoreconfHook,
perl,
po4a,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "debianutils";
version = "5.21";
src = fetchFromGitLab {
domain = "salsa.debian.org";
owner = "debian";
repo = "debianutils";
rev = "debian/${finalAttrs.version}";
hash = "sha256-wAVXZWSulhA1QlKi52eOlN86b05DAxeSTc4qd6UsJBM=";
};
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; [ ];
platforms = lib.platforms.all;
};
})