Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, db, gtk2, bzip2 }: 2 3stdenv.mkDerivation rec { 4 pname = "jigdo"; 5 version = "0.7.3"; 6 7 src = fetchurl { 8 url = "http://ftp.de.debian.org/debian/pool/main/j/jigdo/jigdo_${version}.orig.tar.gz"; 9 sha256 = "1qvqzgzb0dzq82fa1ffs6hyij655rajnfwkljk1y0mnkygnha1xv"; 10 }; 11 12 patches = [ 13 (fetchurl { 14 url = "http://ftp.de.debian.org/debian/pool/main/j/jigdo/jigdo_0.7.3-4.diff.gz"; 15 sha256 = "03zsh57fijciiv23lf55k6fbfhhzm866xjhx83x54v5s1g2h6m8y"; 16 }) 17 ./sizewidth.patch 18 ]; 19 20 buildInputs = [ db gtk2 bzip2 ]; 21 22 configureFlags = [ "--without-libdb" ]; 23 24 meta = with lib; { 25 description = "Download utility that can fetch files from several sources simultaneously"; 26 homepage = "http://atterer.org/jigdo/"; 27 license = licenses.gpl2Only; 28 platforms = platforms.unix; 29 maintainers = with maintainers; [ ]; 30 }; 31}