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