2018-02-13 22:44:07 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, mate, pythonPackages }:
|
2018-01-05 20:26:51 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "python-caja-${version}";
|
2019-01-14 13:48:25 +00:00
|
|
|
version = "1.20.2";
|
2018-01-05 20:26:51 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-02-13 22:44:07 +00:00
|
|
|
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
2019-01-14 13:48:25 +00:00
|
|
|
sha256 = "16r8mz1b44qgs19d14zadwzshzrdc5sdwgjp9f9av3fa6g09yd7b";
|
2018-01-05 20:26:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
intltool
|
|
|
|
pythonPackages.wrapPython
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
2018-02-13 22:44:07 +00:00
|
|
|
mate.caja
|
2018-01-05 20:26:51 +00:00
|
|
|
pythonPackages.python
|
|
|
|
pythonPackages.pygobject3
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [ "--with-cajadir=$$out/lib/caja/extensions-2.0" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python binding for Caja components";
|
|
|
|
homepage = https://github.com/mate-desktop/python-caja;
|
|
|
|
license = [ licenses.gpl2Plus ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|