Skip to content

Commit

Permalink
debianutils: init at 4.8.1 (#21739)
Browse files Browse the repository at this point in the history
  • Loading branch information
pngwjpgh authored and fpletz committed Jan 9, 2017
1 parent a878365 commit 071481c
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/licenses.nix
Expand Up @@ -449,6 +449,12 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
fullName = "Sleepycat License";
};

smail = {
shortName = "smail";
fullName = "SMAIL General Public License";
url = http://metadata.ftp-master.debian.org/changelogs/main/d/debianutils/debianutils_4.8.1_copyright;
};

tcltk = spdx {
spdxId = "TCL";
fullName = "TCL/TK License";
Expand Down
28 changes: 28 additions & 0 deletions pkgs/tools/misc/debianutils/default.nix
@@ -0,0 +1,28 @@
{ stdenv, fetchurl }:

let
checksums = {
"4.8.1" = "09phylg8ih1crgxjadkdb8idbpj9ap62a7cbh8qdx2gyvh5mqf9c";
};
in stdenv.mkDerivation rec {
version = "4.8.1";
name = "debianutils-${version}";

src = fetchurl {
url = "mirror://debian/pool/main/d/debianutils/debianutils_${version}.tar.xz";
sha256 = checksums."${version}";
};

meta = {
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
'';
downloadPage = https://packages.debian.org/sid/debianutils;
license = with stdenv.lib.licenses; [ gpl2Plus publicDomain smail ];
maintainers = [];
platforms = stdenv.lib.platforms.all;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -1369,6 +1369,8 @@ in

dcfldd = callPackage ../tools/system/dcfldd { };

debianutils = callPackage ../tools/misc/debianutils { };

debian-devscripts = callPackage ../tools/misc/debian-devscripts {
inherit (perlPackages) CryptSSLeay LWP TimeDate DBFile FileDesktopEntry;
};
Expand Down

0 comments on commit 071481c

Please sign in to comment.