2021-01-15 05:42:41 +00:00
|
|
|
{ lib, stdenv, fetchurl, db, gtk2, bzip2 }:
|
2009-09-10 17:57:31 +01:00
|
|
|
|
2021-11-07 20:29:51 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "jigdo";
|
|
|
|
version = "0.7.3";
|
2009-09-10 17:57:31 +01:00
|
|
|
|
2013-12-16 13:26:29 +00:00
|
|
|
# Debian sources
|
2009-09-10 17:57:31 +01:00
|
|
|
src = fetchurl {
|
2021-11-07 20:29:51 +00:00
|
|
|
url = "http://ftp.de.debian.org/debian/pool/main/j/jigdo/jigdo_${version}.orig.tar.gz";
|
2009-09-10 17:57:31 +01:00
|
|
|
sha256 = "1qvqzgzb0dzq82fa1ffs6hyij655rajnfwkljk1y0mnkygnha1xv";
|
|
|
|
};
|
|
|
|
|
2017-09-03 01:49:32 +01:00
|
|
|
patches = [
|
|
|
|
(fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "http://ftp.de.debian.org/debian/pool/main/j/jigdo/jigdo_0.7.3-4.diff.gz";
|
2017-09-03 01:49:32 +01:00
|
|
|
sha256 = "03zsh57fijciiv23lf55k6fbfhhzm866xjhx83x54v5s1g2h6m8y";
|
|
|
|
})
|
|
|
|
./sizewidth.patch
|
|
|
|
];
|
2013-12-16 13:26:29 +00:00
|
|
|
|
2016-09-11 22:24:51 +01:00
|
|
|
buildInputs = [ db gtk2 bzip2 ];
|
2009-09-10 17:57:31 +01:00
|
|
|
|
2018-07-25 22:44:21 +01:00
|
|
|
configureFlags = [ "--without-libdb" ];
|
2009-09-10 17:57:31 +01:00
|
|
|
|
2013-12-16 13:26:29 +00:00
|
|
|
meta = {
|
2010-07-28 16:35:01 +01:00
|
|
|
description = "Download utility that can fetch files from several sources simultaneously";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://atterer.net/jigdo/";
|
2021-01-15 05:42:41 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.unix;
|
2009-09-10 17:57:31 +01:00
|
|
|
};
|
|
|
|
}
|