2017-03-18 23:38:47 +00:00
|
|
|
{ stdenv, fetchurl, barcode, gnome3, autoreconfHook
|
2016-02-15 20:34:59 +00:00
|
|
|
, gtk3, gtk_doc, libxml2, librsvg , libtool, libe-book
|
|
|
|
, intltool, itstool, makeWrapper, pkgconfig, which
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "glabels-${version}";
|
2017-03-18 23:38:47 +00:00
|
|
|
version = "3.4.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://ftp.gnome.org/pub/GNOME/sources/glabels/3.4/glabels-3.4.0.tar.xz";
|
|
|
|
sha256 = "04345crf5yrhq6rlrymz630rxnm8yw41vx04hb6xn2nkjn9hf3nl";
|
2016-02-15 20:34:59 +00:00
|
|
|
};
|
|
|
|
|
2017-03-18 23:38:47 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig makeWrapper intltool ];
|
2016-02-15 20:34:59 +00:00
|
|
|
buildInputs = [
|
2017-03-18 23:38:47 +00:00
|
|
|
barcode gtk3 gtk_doc gnome3.yelp_tools
|
2016-02-15 20:34:59 +00:00
|
|
|
gnome3.gnome_common gnome3.gsettings_desktop_schemas
|
2017-03-18 23:38:47 +00:00
|
|
|
itstool libxml2 librsvg libe-book libtool
|
|
|
|
|
2016-02-15 20:34:59 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
rm "$out/share/icons/hicolor/icon-theme.cache"
|
|
|
|
wrapProgram "$out/bin/glabels-3" \
|
|
|
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Create labels and business cards";
|
|
|
|
homepage = http://glabels.org/;
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.nico202 ];
|
|
|
|
};
|
|
|
|
}
|