2021-01-19 06:50:56 +00:00
|
|
|
{ stdenv, fetchurl, pkg-config, gettext, gtk-doc, gobject-introspection, python2, gtk3, cairo, glib }:
|
2018-02-26 01:30:11 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
version = "2.0.4";
|
|
|
|
in stdenv.mkDerivation rec {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "goocanvas";
|
|
|
|
inherit version;
|
2018-02-26 01:30:11 +00:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-13 22:52:01 +01:00
|
|
|
url = "mirror://gnome/sources/goocanvas/2.0/${pname}-${version}.tar.xz";
|
2018-02-26 01:30:11 +00:00
|
|
|
sha256 = "141fm7mbqib0011zmkv3g8vxcjwa7hypmq71ahdyhnj2sjvy4a67";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config gettext gtk-doc python2 ];
|
2018-12-02 11:41:15 +00:00
|
|
|
buildInputs = [ gtk3 cairo glib gobject-introspection ];
|
2018-02-26 01:30:11 +00:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--disable-python"
|
|
|
|
];
|
2018-04-23 19:37:03 +01:00
|
|
|
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
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-09-03 23:49:40 +01:00
|
|
|
description = "Canvas widget for GTK based on the the Cairo 2D library";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/GooCanvas";
|
2018-02-26 01:30:11 +00:00
|
|
|
license = licenses.lgpl2;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|