nixpkgs/pkgs/applications/misc/jigdo/default.nix

31 lines
820 B
Nix
Raw Normal View History

2021-01-15 06:42:41 +01:00
{ lib, stdenv, fetchurl, db, gtk2, bzip2 }:
stdenv.mkDerivation {
name = "jigdo-0.7.3";
2013-12-16 14:26:29 +01:00
# Debian sources
src = fetchurl {
url = "http://ftp.de.debian.org/debian/pool/main/j/jigdo/jigdo_0.7.3.orig.tar.gz";
sha256 = "1qvqzgzb0dzq82fa1ffs6hyij655rajnfwkljk1y0mnkygnha1xv";
};
2017-09-03 02:49:32 +02:00
patches = [
(fetchurl {
url = "http://ftp.de.debian.org/debian/pool/main/j/jigdo/jigdo_0.7.3-4.diff.gz";
2017-09-03 02:49:32 +02:00
sha256 = "03zsh57fijciiv23lf55k6fbfhhzm866xjhx83x54v5s1g2h6m8y";
})
./sizewidth.patch
];
2013-12-16 14:26:29 +01:00
buildInputs = [ db gtk2 bzip2 ];
2018-07-25 23:44:21 +02:00
configureFlags = [ "--without-libdb" ];
2013-12-16 14:26:29 +01:00
meta = {
description = "Download utility that can fetch files from several sources simultaneously";
homepage = "http://atterer.net/jigdo/";
2021-01-15 06:42:41 +01:00
license = lib.licenses.gpl2;
platforms = lib.platforms.unix;
};
}