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 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 {
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
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 ];
};
}