nautilus-python: Move from gnome scope to top-level

This commit is contained in:
Jan Tojnar 2024-06-13 11:10:24 +02:00
parent 2be24442bb
commit 04393cdded
8 changed files with 10 additions and 12 deletions

View file

@ -19,7 +19,7 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
gnome.nautilus-python nautilus-python
nautilus-open-any-terminal nautilus-open-any-terminal
]; ];
programs.dconf = lib.optionalAttrs (cfg.terminal != null) { programs.dconf = lib.optionalAttrs (cfg.terminal != null) {

View file

@ -5,7 +5,7 @@
, wrapGAppsHook4 , wrapGAppsHook4
, desktopToDarwinBundle , desktopToDarwinBundle
, gobject-introspection , gobject-introspection
, gnome , nautilus-python
, python3 , python3
, libadwaita , libadwaita
, openssl , openssl
@ -54,7 +54,7 @@ crystal.buildCrystalPackage rec {
libadwaita libadwaita
openssl openssl
libxml2 libxml2
gnome.nautilus-python nautilus-python
python3.pkgs.pygobject3 python3.pkgs.pygobject3
]; ];

View file

@ -3,7 +3,7 @@
fetchurl, fetchurl,
lib, lib,
dpkg, dpkg,
gnome, nautilus-python,
insync-emblem-icons, insync-emblem-icons,
}: }:
@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ dpkg ]; nativeBuildInputs = [ dpkg ];
buildInputs = [ buildInputs = [
gnome.nautilus-python nautilus-python
insync-emblem-icons insync-emblem-icons
]; ];

View file

@ -1,4 +1,4 @@
{ python3, fetchFromGitHub, gnome, stdenv, lib }: { python3, fetchFromGitHub, nautilus-python, stdenv, lib }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "nautilus-open-in-blackbox"; pname = "nautilus-open-in-blackbox";
version = "0.1.1"; version = "0.1.1";
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
patches = [ ./paths.patch ]; patches = [ ./paths.patch ];
buildInputs = [ buildInputs = [
gnome.nautilus-python nautilus-python
python3.pkgs.pygobject3 python3.pkgs.pygobject3
]; ];

View file

@ -52,7 +52,6 @@ stdenv.mkDerivation rec {
passthru = { passthru = {
updateScript = gnome.updateScript { updateScript = gnome.updateScript {
packageName = pname; packageName = pname;
attrPath = "gnome.${pname}";
}; };
}; };

View file

@ -241,8 +241,6 @@ lib.makeScope pkgs.newScope (self: with self; {
metacity = callPackage ./misc/metacity { }; metacity = callPackage ./misc/metacity { };
nautilus-python = callPackage ./misc/nautilus-python { };
gtkhtml = callPackage ./misc/gtkhtml { enchant = pkgs.enchant2; }; gtkhtml = callPackage ./misc/gtkhtml { enchant = pkgs.enchant2; };
pomodoro = callPackage ./misc/pomodoro { }; pomodoro = callPackage ./misc/pomodoro { };
@ -258,6 +256,7 @@ lib.makeScope pkgs.newScope (self: with self; {
gnome-autoar = lib.warn "The gnome.gnome-autoar was moved to top-level. Please use pkgs.gnome-autoar directly." pkgs.gnome-autoar; # Added on 2024-06-13. gnome-autoar = lib.warn "The gnome.gnome-autoar was moved to top-level. Please use pkgs.gnome-autoar directly." pkgs.gnome-autoar; # Added on 2024-06-13.
gnome-user-share = lib.warn "The gnome.gnome-user-share was moved to top-level. Please use pkgs.gnome-user-share directly." pkgs.gnome-user-share; # Added on 2024-06-13. gnome-user-share = lib.warn "The gnome.gnome-user-share was moved to top-level. Please use pkgs.gnome-user-share directly." pkgs.gnome-user-share; # Added on 2024-06-13.
nautilus = lib.warn "The gnome.nautilus was moved to top-level. Please use pkgs.nautilus directly." pkgs.nautilus; # Added on 2024-06-13. nautilus = lib.warn "The gnome.nautilus was moved to top-level. Please use pkgs.nautilus directly." pkgs.nautilus; # Added on 2024-06-13.
nautilus-python = lib.warn "The gnome.nautilus-python was moved to top-level. Please use pkgs.nautilus-python directly." pkgs.nautilus-python; # Added on 2024-06-13.
#### Removals #### Removals
anjuta = throw "`anjuta` was removed after not being maintained upstream and losing control of its official domain."; # 2024-01-16 anjuta = throw "`anjuta` was removed after not being maintained upstream and losing control of its official domain."; # 2024-01-16

View file

@ -4,8 +4,8 @@
, dconf , dconf
, fetchFromGitHub , fetchFromGitHub
, glib , glib
, gnome
, nautilus , nautilus
, nautilus-python
, gobject-introspection , gobject-introspection
, gsettings-desktop-schemas , gsettings-desktop-schemas
, gtk3 , gtk3
@ -39,7 +39,7 @@ python3.pkgs.buildPythonPackage rec {
dbus dbus
dconf dconf
nautilus nautilus
gnome.nautilus-python nautilus-python
gsettings-desktop-schemas gsettings-desktop-schemas
gtk3 gtk3
python3.pkgs.pygobject3 python3.pkgs.pygobject3