nixpkgs/pkgs/development/libraries/goocanvas/2.x.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
1.2 KiB
Nix
Raw Normal View History

2022-04-21 21:40:45 +00:00
{ lib, stdenv, fetchurl, pkg-config, gettext, gtk-doc, gobject-introspection, python3, gtk3, cairo, glib, gnome }:
2018-02-26 01:30:11 +00:00
2021-07-17 18:37:27 +00:00
stdenv.mkDerivation rec {
2019-08-13 21:52:01 +00:00
pname = "goocanvas";
2021-07-17 18:37:27 +00:00
version = "2.0.4";
2018-02-26 01:30:11 +00:00
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
2019-08-13 21:52:01 +00:00
url = "mirror://gnome/sources/goocanvas/2.0/${pname}-${version}.tar.xz";
2018-02-26 01:30:11 +00:00
sha256 = "141fm7mbqib0011zmkv3g8vxcjwa7hypmq71ahdyhnj2sjvy4a67";
};
2022-04-21 21:40:45 +00:00
nativeBuildInputs = [ pkg-config gettext gtk-doc python3 ];
buildInputs = [ gtk3 cairo glib gobject-introspection ];
2018-02-26 01:30:11 +00:00
configureFlags = [
"--disable-python"
];
PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_GIRDIR = "$(dev)/share/gir-1.0";
PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_TYPELIBDIR = "$(out)/lib/girepository-1.0";
2018-02-26 01:30:11 +00:00
2021-10-14 21:43:53 +00:00
passthru = {
updateScript = gnome.updateScript {
attrPath = "${pname}${lib.versions.major version}";
packageName = pname;
versionPolicy = "odd-unstable";
freeze = true;
};
};
meta = with lib; {
description = "Canvas widget for GTK based on the the Cairo 2D library";
homepage = "https://wiki.gnome.org/Projects/GooCanvas";
2018-02-26 01:30:11 +00:00
license = licenses.lgpl2;
maintainers = with maintainers; [ ];
platforms = platforms.unix;
};
}