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