diff --git a/pkgs/applications/graphics/glabels/default.nix b/pkgs/applications/graphics/glabels/default.nix new file mode 100644 index 000000000000..cf1ab1942e58 --- /dev/null +++ b/pkgs/applications/graphics/glabels/default.nix @@ -0,0 +1,38 @@ +{ stdenv, fetchFromGitHub, autoconf, automake, barcode, gnome3 +, gtk3, gtk_doc, libxml2, librsvg , libtool, libe-book +, intltool, itstool, makeWrapper, pkgconfig, which +}: + +stdenv.mkDerivation rec { + name = "glabels-${version}"; + version = "3.2.1"; + src = fetchFromGitHub { + owner = "jimevins"; + repo = "glabels"; + rev = "glabels-3_2_1"; + sha256 = "1y6gz0v9si3cvdzhakbgkyc94fajg19rmykfgnc37alrc21vs9zg"; + }; + + buildInputs = [ + autoconf automake barcode gtk3 gtk_doc gnome3.yelp_tools + gnome3.gnome_common gnome3.gsettings_desktop_schemas + intltool itstool libxml2 librsvg libe-book libtool + makeWrapper pkgconfig + ]; + + preFixup = '' + rm "$out/share/icons/hicolor/icon-theme.cache" + wrapProgram "$out/bin/glabels-3" \ + --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" + ''; + + preConfigure = "./autogen.sh"; + + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 93558c8401f0..fa1ccd5c3273 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9400,6 +9400,8 @@ let gatling = callPackage ../servers/http/gatling { }; + glabels = callPackage ../applications/graphics/glabels { }; + grafana = (callPackage ../servers/monitoring/grafana { }).bin // { outputs = ["bin"]; }; groovebasin = callPackage ../applications/audio/groovebasin { };