mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 04:24:28 +03:00
gnome3.nautilus-python: init at 1.2.2
This commit is contained in:
parent
6a1f209187
commit
3a16083fe0
@ -338,6 +338,8 @@ lib.makeScope pkgs.newScope (self: with self; {
|
|||||||
|
|
||||||
metacity = callPackage ./misc/metacity { };
|
metacity = callPackage ./misc/metacity { };
|
||||||
|
|
||||||
|
nautilus-python = callPackage ./misc/nautilus-python { };
|
||||||
|
|
||||||
pidgin-im-gnome-shell-extension = callPackage ./misc/pidgin { };
|
pidgin-im-gnome-shell-extension = callPackage ./misc/pidgin { };
|
||||||
|
|
||||||
gtkhtml = callPackage ./misc/gtkhtml { };
|
gtkhtml = callPackage ./misc/gtkhtml { };
|
||||||
|
62
pkgs/desktops/gnome-3/misc/nautilus-python/default.nix
Normal file
62
pkgs/desktops/gnome-3/misc/nautilus-python/default.nix
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
{ stdenv
|
||||||
|
, fetchurl
|
||||||
|
, pkgconfig
|
||||||
|
, which
|
||||||
|
, gtk-doc
|
||||||
|
, docbook_xsl
|
||||||
|
, docbook_xml_dtd_412
|
||||||
|
, python3
|
||||||
|
, ncurses
|
||||||
|
, nautilus
|
||||||
|
, gtk3
|
||||||
|
, gnome3
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "nautilus-python";
|
||||||
|
version = "1.2.2";
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" "doc" ];
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
|
sha256 = "04pib6fan6cq8x0fhf5gll2f5d2dh5pxrhj79qhi5l1yc7ys7kch";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkgconfig
|
||||||
|
which
|
||||||
|
gtk-doc
|
||||||
|
docbook_xsl
|
||||||
|
docbook_xml_dtd_412
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
python3
|
||||||
|
ncurses # required by python3
|
||||||
|
python3.pkgs.pygobject3
|
||||||
|
nautilus
|
||||||
|
gtk3 # required by libnautilus-extension
|
||||||
|
];
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"PYTHON_LIB_LOC=${python3}/lib"
|
||||||
|
];
|
||||||
|
|
||||||
|
PKG_CONFIG_LIBNAUTILUS_EXTENSION_EXTENSIONDIR = "${placeholder "out"}/lib/nautilus/extensions-3.0";
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
attrPath = "gnome3.${pname}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Python bindings for the Nautilus Extension API";
|
||||||
|
homepage = https://wiki.gnome.org/Projects/NautilusPython;
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
|
maintainers = gnome3.maintainers;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user