tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
libiptcdata: 1.0.4 -> 1.0.5
Weijia Wang
3 years ago
538f6f8e
9cfb5c05
+31
-12
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
libiptcdata
default.nix
+31
-12
pkgs/development/libraries/libiptcdata/default.nix
···
1
1
-
{ lib, stdenv, fetchurl, libiconv }:
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchFromGitHub
4
4
+
, autoreconfHook
5
5
+
, libiconv
6
6
+
, libintl
7
7
+
}:
2
8
3
9
stdenv.mkDerivation rec {
4
10
pname = "libiptcdata";
5
5
-
version = "1.0.4";
11
11
+
version = "1.0.5";
12
12
+
13
13
+
src = fetchFromGitHub {
14
14
+
owner = "ianw";
15
15
+
repo = pname;
16
16
+
rev = "release_${builtins.replaceStrings ["."] ["_"] version}";
17
17
+
sha256 = "sha256-ZjokepDAHiSEwXrkvM9qUAPcpIiRQoOsv7REle7roPU=";
18
18
+
};
19
19
+
20
20
+
postPatch = ''
21
21
+
# gtk-doc doesn't build without network access
22
22
+
sed -i '/GTK_DOC_CHECK/d;/docs/d' configure.ac
23
23
+
sed -i 's/docs//' Makefile.am
24
24
+
'';
25
25
+
26
26
+
nativeBuildInputs = [
27
27
+
autoreconfHook
28
28
+
];
6
29
7
30
buildInputs = lib.optionals stdenv.isDarwin [
8
31
libiconv
32
32
+
libintl
9
33
];
10
34
11
11
-
src = fetchurl {
12
12
-
url = "mirror://sourceforge/libiptcdata/${pname}-${version}.tar.gz";
13
13
-
sha256 = "03pfvkmmx762iydq0q207x2028d275pbdysfsgpmrr0ywy63pxkr";
14
14
-
};
15
15
-
16
16
-
meta = {
35
35
+
meta = with lib; {
17
36
description = "Library for reading and writing the IPTC metadata in images and other files";
18
18
-
homepage = "http://libiptcdata.sourceforge.net/";
19
19
-
license = lib.licenses.gpl2Plus;
20
20
-
platforms = lib.platforms.unix;
21
21
-
maintainers = with lib.maintainers; [ wegank ];
37
37
+
homepage = "https://github.com/ianw/libiptcdata";
38
38
+
license = licenses.gpl2Plus;
39
39
+
platforms = platforms.unix;
40
40
+
maintainers = with maintainers; [ wegank ];
22
41
};
23
42
}