mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
29 lines
728 B
Nix
29 lines
728 B
Nix
{ stdenv, fetchurl, pkgconfig, exiv2, glib, libtool, m4, gnome3 }:
|
|
|
|
let
|
|
majorVersion = "0.10";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
name = "gexiv2-${version}";
|
|
version = "${majorVersion}.6";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/gexiv2/${majorVersion}/${name}.tar.xz";
|
|
sha256 = "09aqsnpah71p9gx0ap2px2dyanrs7jmkkar6q114n9b7js8qh9qk";
|
|
};
|
|
|
|
preConfigure = ''
|
|
patchShebangs .
|
|
'';
|
|
|
|
buildInputs = [ pkgconfig glib libtool m4 ];
|
|
propagatedBuildInputs = [ exiv2 ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://wiki.gnome.org/Projects/gexiv2;
|
|
description = "GObject wrapper around the Exiv2 photo metadata library";
|
|
platforms = platforms.linux;
|
|
maintainers = gnome3.maintainers;
|
|
};
|
|
}
|