ace1f064e8
* glabels: 3.4.0 -> 3.4.1 (#52285) Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/glabels/versions * glabels: fetch from Gnome mirrors + corrected licensing - see https://github.com/jimevins/glabels/blob/glabels-3_4_1/COPYING.README_FIRST
35 lines
1.1 KiB
Nix
35 lines
1.1 KiB
Nix
{ stdenv, fetchurl, barcode, gnome3, autoreconfHook
|
|
, gtk3, gtk-doc, libxml2, librsvg , libtool, libe-book
|
|
, intltool, itstool, makeWrapper, pkgconfig, hicolor-icon-theme
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "glabels-${version}";
|
|
version = "3.4.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/glabels/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
|
sha256 = "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig makeWrapper intltool ];
|
|
buildInputs = [
|
|
barcode gtk3 gtk-doc gnome3.yelp-tools
|
|
gnome3.gnome-common gnome3.gsettings-desktop-schemas
|
|
itstool libxml2 librsvg libe-book libtool
|
|
hicolor-icon-theme
|
|
];
|
|
|
|
preFixup = ''
|
|
wrapProgram "$out/bin/glabels-3" \
|
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Create labels and business cards";
|
|
homepage = https://glabels.org/;
|
|
license = with licenses; [ gpl3Plus lgpl3Plus ];
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.nico202 ];
|
|
};
|
|
}
|