3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/mate/python-caja/default.nix
2018-01-09 02:40:04 +02:00

37 lines
908 B
Nix

{ stdenv, fetchurl, pkgconfig, intltool, gtk3, caja, pythonPackages }:
stdenv.mkDerivation rec {
name = "python-caja-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
minor-ver = "1";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "0n43cvvv29gq31hgrsf9al184cr87c3hzskrh2593rid52kwyz44";
};
nativeBuildInputs = [
pkgconfig
intltool
pythonPackages.wrapPython
];
buildInputs = [
gtk3
caja
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 ];
};
}