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