diff options
author | pngwjpgh <pngwjpgh@users.noreply.github.com> | 2017-01-09 06:41:06 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2017-01-09 06:41:06 +0100 |
commit | 071481ca7dbfbca2c567e6f0b7d202bfcd42837e (patch) | |
tree | 68e0ec0fc7e97329eda1808e52b1215ee69bcc1f | |
parent | a878365b77e2bad4f11731072c3d2b79d1b40b04 (diff) | |
download | nixpkgs-071481ca7dbfbca2c567e6f0b7d202bfcd42837e.tar nixpkgs-071481ca7dbfbca2c567e6f0b7d202bfcd42837e.tar.gz nixpkgs-071481ca7dbfbca2c567e6f0b7d202bfcd42837e.tar.bz2 nixpkgs-071481ca7dbfbca2c567e6f0b7d202bfcd42837e.tar.lz nixpkgs-071481ca7dbfbca2c567e6f0b7d202bfcd42837e.tar.xz nixpkgs-071481ca7dbfbca2c567e6f0b7d202bfcd42837e.tar.zst nixpkgs-071481ca7dbfbca2c567e6f0b7d202bfcd42837e.zip |
debianutils: init at 4.8.1 (#21739)
-rw-r--r-- | lib/licenses.nix | 6 | ||||
-rw-r--r-- | pkgs/tools/misc/debianutils/default.nix | 28 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
3 files changed, 36 insertions, 0 deletions
diff --git a/lib/licenses.nix b/lib/licenses.nix index b62f4f0a5bb..e5784ce2202 100644 --- a/lib/licenses.nix +++ b/lib/licenses.nix @@ -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"; diff --git a/pkgs/tools/misc/debianutils/default.nix b/pkgs/tools/misc/debianutils/default.nix new file mode 100644 index 00000000000..e2253982788 --- /dev/null +++ b/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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e261d1bcfb5..8a81bdffac0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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; }; |