1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 09:31:01 +00:00
nixpkgs/pkgs/desktops/mate/python-caja/default.nix
2019-09-30 07:07:57 -03:00

35 lines
888 B
Nix

{ stdenv, fetchurl, pkgconfig, intltool, gtk3, mate, python3Packages }:
stdenv.mkDerivation rec {
pname = "python-caja";
version = "1.22.1";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "07hkvs4a6anrvh28zjsrj8anbcz32p19hslhq66yhcvh0hh4kvqk";
};
nativeBuildInputs = [
pkgconfig
intltool
python3Packages.wrapPython
];
buildInputs = [
gtk3
mate.caja
python3Packages.python
python3Packages.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 ];
};
}