@@ -0,0 +1,44 @@
1+{ stdenv
2+, fetchPypi
3+, buildPythonPackage
4+, pkgconfig
5+, gtk3
6+, gobjectIntrospection
7+, pygtk
8+, pygobject3
9+, goocanvas2
10+, isPy3k
11+ }:
12+
13+with stdenv.lib;
14+
15+buildPythonPackage rec {
16+ pname = "GooCalendar";
17+ version = "0.3";
18+
19+ disabled = isPy3k;
20+
21+ src = fetchPypi {
22+ inherit pname version;
23+ sha256 = "1p7qbcv06xipg48sgpdlqf72ajl3n1qlypcc0giyi1a72zpyf823";
24+ };
25+ nativeBuildInputs = [ pkgconfig gobjectIntrospection ];
26+ propagatedBuildInputs = [
27+ pygtk
28+ pygobject3
29+ ];
30+ buildInputs = [
31+ gtk3
32+ goocanvas2
33+ ];
34+
35+ # No upstream tests available
36+ doCheck = false;
37+
38+ meta = with stdenv.lib; {
39+ description = "A calendar widget for GTK using PyGoocanvas.";
40+ homepage = https://goocalendar.tryton.org/;
41+ license = licenses.gpl2;
42+ maintainers = [ maintainers.udono ];
43+ };
44+}