nixpkgs/pkgs/desktops/mate/python-caja/default.nix
José Romildo Malaquias aa001cc937 mate: remove major-ver and minor-ver
Keep only the version atribute in derivations, with the full version
string of the package. This will make it easier to write a script for
automatic updating of the packages using the update-source-version
command from common-updater-scripts.
2018-02-13 20:44:07 -02:00

35 lines
867 B
Nix

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