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