summaryrefslogtreecommitdiff
path: root/pkgs/by-name/de/debianutils/package.nix
blob: 451fc60a76bd2faa302bf46ee1e2bebf9eaf7423 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
  lib,
  stdenv,
  fetchFromGitLab,
  autoreconfHook,
  perl,
  po4a,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "debianutils";
  version = "5.23.1";

  src = fetchFromGitLab {
    domain = "salsa.debian.org";
    owner = "debian";
    repo = "debianutils";
    rev = "debian/${finalAttrs.version}";
    hash = "sha256-kQFl57kusyL3kGG9pJ8j2AsKBH4245xiPoDUYHjjv1g=";
  };

  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;
  };
})