blob: 4202bd4dd3dd0675c37a0535eb2adea6be35523b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{ lib
, stdenv
, fetchurl
, gettext
, bzip2
, db
, zlib
}:
stdenv.mkDerivation rec {
pname = "jigdo";
version = "0.8.2";
src = fetchurl {
url = "https://www.einval.com/~steve/software/jigdo/download/jigdo-${version}.tar.xz";
hash = "sha256-NvKG2T+mtr94hfSJnJl4lNIdo6YhdlkqwWLZxqhkT54=";
};
# unable to parse jigdo-file.sgml
postPatch = ''
sed \
-e "s@.*cd doc.*@@g" \
-e "s@.*/man1.*@\t\t:@g" \
-i Makefile.in
'';
strictDeps = true;
nativeBuildInputs = [
gettext
];
buildInputs = [
bzip2
db
zlib
];
meta = with lib; {
description = "Download utility that can fetch files from several sources simultaneously";
homepage = "https://www.einval.com/~steve/software/jigdo/";
license = licenses.gpl2Only;
maintainers = with maintainers; [ wegank ];
platforms = platforms.unix;
};
}
|