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