2018-02-13 23:44:07 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, mate, pythonPackages }:
|
2018-01-05 21:26:51 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "python-caja-${version}";
|
2018-02-14 02:22:51 +01:00
|
|
|
version = "1.20.0";
|
2018-01-05 21:26:51 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-02-13 23:44:07 +01:00
|
|
|
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
2018-02-14 02:22:51 +01:00
|
|
|
sha256 = "0bcgg3p01zik53l5ns48575yw0k88fyc044yvp9fvwy5jqqg1ykk";
|
2018-01-05 21:26:51 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
intltool
|
|
|
|
pythonPackages.wrapPython
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
2018-02-13 23:44:07 +01:00
|
|
|
mate.caja
|
2018-01-05 21:26:51 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|