blob: 7f668cdde9966b980f5536277a4f2c3b21380d72 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, caja
, gtk3
, python3Packages
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "python-caja";
version = "1.28.0";
src = fetchurl {
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "sFbCOdvf4z7QzIQx+zUAqTj3h7Weh19f+TV4umb2gNY=";
};
nativeBuildInputs = [
pkg-config
gettext
python3Packages.wrapPython
];
buildInputs = [
caja
gtk3
python3Packages.python
python3Packages.pygobject3
];
configureFlags = [ "--with-cajadir=$$out/lib/caja/extensions-2.0" ];
enableParallelBuilding = true;
passthru.updateScript = mateUpdateScript { inherit pname; };
meta = with lib; {
description = "Python binding for Caja components";
homepage = "https://github.com/mate-desktop/python-caja";
license = [ licenses.gpl2Plus ];
platforms = platforms.unix;
maintainers = teams.mate.members;
};
}
|