From 16dec9905426285d9302e48217654707ee651cb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 21 Jan 2010 16:53:16 +0000 Subject: [PATCH] Add GNU mkisofs. svn path=/nixpkgs/trunk/; revision=19603 --- pkgs/tools/cd-dvd/mkisofs/default.nix | 25 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/tools/cd-dvd/mkisofs/default.nix diff --git a/pkgs/tools/cd-dvd/mkisofs/default.nix b/pkgs/tools/cd-dvd/mkisofs/default.nix new file mode 100644 index 000000000000..255e7467def4 --- /dev/null +++ b/pkgs/tools/cd-dvd/mkisofs/default.nix @@ -0,0 +1,25 @@ +{ fetchurl, stdenv, gettext }: + +stdenv.mkDerivation rec { + name = "mkisofs-1.13"; + + src = fetchurl { + url = "mirror://gnu/isofsmk/${name}.tar.gz"; + sha256 = "13f8zynl64aaqjgxf0m1m2gbizdh7ndicg5d1bm6s0x97bqifrfn"; + }; + + buildInputs = [ gettext ]; + + doCheck = true; + + meta = { + homepage = http://savannah.gnu.org/projects/isofsmk; + + description = "GNU mkisofs, an ISO 9660 filesystem builder"; + + license = "GPLv3+"; + + maintainers = [ stdenv.lib.maintainers.ludo ]; + platforms = stdenv.lib.platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index cd6f4c0a7f12..18b3addd5cf3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1031,6 +1031,10 @@ let inherit (xlibs) libX11; }; + mkisofs = import ../tools/cd-dvd/mkisofs { + inherit fetchurl stdenv gettext; + }; + mktemp = import ../tools/security/mktemp { inherit fetchurl stdenv; };