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}";
|
2018-10-24 19:05:27 +01:00
|
|
|
version = "1.20.1";
|
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";
|
2018-10-24 19:05:27 +01:00
|
|
|
sha256 = "16y9xri92x7a40db2qakf20c80a6vqy21nwnjhwrki5rqk7nwbgx";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|