nixpkgs/pkgs/desktops/mate/python-caja/default.nix

35 lines
867 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, intltool, gtk3, mate, pythonPackages }:
2018-01-05 20:26:51 +00:00
stdenv.mkDerivation rec {
name = "python-caja-${version}";
version = "1.20.1";
2018-01-05 20:26:51 +00:00
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "16y9xri92x7a40db2qakf20c80a6vqy21nwnjhwrki5rqk7nwbgx";
2018-01-05 20:26:51 +00:00
};
nativeBuildInputs = [
pkgconfig
intltool
pythonPackages.wrapPython
];
buildInputs = [
gtk3
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 ];
};
}