mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-06 05:43:17 +00:00
35 lines
867 B
Nix
35 lines
867 B
Nix
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, mate, pythonPackages }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "python-caja-${version}";
|
|
version = "1.20.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
|
sha256 = "16r8mz1b44qgs19d14zadwzshzrdc5sdwgjp9f9av3fa6g09yd7b";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
intltool
|
|
pythonPackages.wrapPython
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
mate.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 ];
|
|
};
|
|
}
|