From 74c5a4d9d95303d4e2a46fd59e487bd32e825c1b Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Thu, 10 Sep 2009 16:57:31 +0000 Subject: [PATCH] adding jigdo-lite svn path=/nixpkgs/trunk/; revision=17020 --- pkgs/applications/misc/jigdo/default.nix | 26 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 5 +++++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/applications/misc/jigdo/default.nix diff --git a/pkgs/applications/misc/jigdo/default.nix b/pkgs/applications/misc/jigdo/default.nix new file mode 100644 index 000000000000..69ec74337df6 --- /dev/null +++ b/pkgs/applications/misc/jigdo/default.nix @@ -0,0 +1,26 @@ +args: with args; + +stdenv.mkDerivation { + name = "jigdo-0.7.3"; + + # Debian sources + src = fetchurl { + url = http://ftp.de.debian.org/debian/pool/main/j/jigdo/jigdo_0.7.3.orig.tar.gz; + sha256 = "1qvqzgzb0dzq82fa1ffs6hyij655rajnfwkljk1y0mnkygnha1xv"; + }; + + buildInputs = [db45 gtk bzip2]; + + configureFlags = "--without-libdb"; + + meta = { + description = "tool designed to ease the distribution of very large files over the internet"; + homepage = http://atterer.net/jigdo/; + license = "GPLv2"; + }; + + patches = fetchurl { + url = http://ftp.de.debian.org/debian/pool/main/j/jigdo/jigdo_0.7.3-2.diff.gz; + sha256 = "0jnlzm9m2hjlnw0zs2fv456ml5r2jj2q1lncqbrgg52lq18f6fa3"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bf05ed1ba9fc..797ad2b53a79 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6727,6 +6727,11 @@ let inherit fetchurl stdenv ant; }; + jigdo = import ../applications/misc/jigdo { + inherit fetchurl stdenv db45 libwpd bzip2; + inherit (gtkLibs) gtk; + }; + joe = import ../applications/editors/joe { inherit stdenv fetchurl; };