@@ -0,0 +1,36 @@
1+{ stdenv, fetchurl, pkgconfig, intltool, gtk3, caja, pythonPackages }:
2+
3+stdenv.mkDerivation rec {
4+ name = "python-caja-${version}";
5+ version = "${major-ver}.${minor-ver}";
6+ major-ver = "1.18";
7+ minor-ver = "1";
8+
9+ src = fetchurl {
10+ url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
11+ sha256 = "0n43cvvv29gq31hgrsf9al184cr87c3hzskrh2593rid52kwyz44";
12+ };
13+
14+ nativeBuildInputs = [
15+ pkgconfig
16+ intltool
17+ pythonPackages.wrapPython
18+ ];
19+
20+ buildInputs = [
21+ gtk3
22+ caja
23+ pythonPackages.python
24+ pythonPackages.pygobject3
25+ ];
26+
27+ configureFlags = [ "--with-cajadir=$$out/lib/caja/extensions-2.0" ];
28+
29+ meta = with stdenv.lib; {
30+ description = "Python binding for Caja components";
31+ homepage = https://github.com/mate-desktop/python-caja;
32+ license = [ licenses.gpl2Plus ];
33+ platforms = platforms.unix;
34+ maintainers = [ maintainers.romildo ];
35+ };
36+}