9 stdenv.mkDerivation rec {
10 pname = "libiptcdata";
13 src = fetchFromGitHub {
16 rev = "release_${builtins.replaceStrings ["."] ["_"] version}";
17 sha256 = "sha256-ZjokepDAHiSEwXrkvM9qUAPcpIiRQoOsv7REle7roPU=";
21 # gtk-doc doesn't build without network access
22 sed -i '/GTK_DOC_CHECK/d;/docs/d' configure.ac
23 sed -i 's/docs//' Makefile.am
30 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
36 description = "Library for reading and writing the IPTC metadata in images and other files";
38 homepage = "https://github.com/ianw/libiptcdata";
39 license = licenses.gpl2Plus;
40 platforms = platforms.unix;
41 maintainers = with maintainers; [ wegank ];