2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, gtk2, cairo, glib, pkg-config, gnome3 }:
|
2010-07-28 16:35:01 +01:00
|
|
|
|
2016-05-25 11:33:14 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-04-25 07:46:07 +01:00
|
|
|
pname = "goocanvas";
|
|
|
|
version = "1.0.0";
|
2008-12-02 12:28:13 +00:00
|
|
|
|
2010-07-28 16:35:01 +01:00
|
|
|
src = fetchurl {
|
2021-01-21 17:00:13 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
|
2016-05-25 11:33:14 +01:00
|
|
|
sha256 = "07kicpcacbqm3inp7zq32ldp95mxx4kfxpaazd0x5jk7hpw2w1qw";
|
2008-12-02 12:28:13 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ gtk2 cairo glib ];
|
2008-12-02 12:28:13 +00:00
|
|
|
|
2019-04-25 07:46:07 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
2019-05-04 14:59:55 +01:00
|
|
|
versionPolicy = "none";
|
2019-04-25 07:46:07 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2019-09-03 23:49:40 +01:00
|
|
|
description = "Canvas widget for GTK based on the the Cairo 2D library";
|
2019-05-04 14:59:55 +01:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/GooCanvas";
|
|
|
|
license = licenses.lgpl2;
|
2021-01-21 17:00:13 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2008-12-02 12:28:13 +00:00
|
|
|
};
|
|
|
|
}
|