From 904070f0ada9a3a89d7e18ce0a71c86abefa82ef Mon Sep 17 00:00:00 2001 From: wxt <3264117476@qq.com> Date: Mon, 25 Nov 2024 19:23:38 +0800 Subject: [PATCH] cobang: move to by-name --- .../misc/cobang/default.nix => by-name/co/cobang/package.nix} | 3 +-- pkgs/top-level/all-packages.nix | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) rename pkgs/{applications/misc/cobang/default.nix => by-name/co/cobang/package.nix} (97%) diff --git a/pkgs/applications/misc/cobang/default.nix b/pkgs/by-name/co/cobang/package.nix similarity index 97% rename from pkgs/applications/misc/cobang/default.nix rename to pkgs/by-name/co/cobang/package.nix index e20bf9b818ad..4d2cf6e40c34 100644 --- a/pkgs/applications/misc/cobang/default.nix +++ b/pkgs/by-name/co/cobang/package.nix @@ -11,7 +11,6 @@ , requests , single-version , gobject-introspection -, gst-plugins-good , gtk3 , libhandy , librsvg @@ -49,7 +48,7 @@ buildPythonApplication rec { buildInputs = [ # Requires v4l2src - gst-plugins-good + (gst_all_1.gst-plugins-good.override { gtkSupport = true; }); # For gobject namespaces libhandy networkmanager diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 882196e53a13..e63f3bcc50a6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3047,10 +3047,6 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) CoreServices; }; - cobang = python311Packages.callPackage ../applications/misc/cobang { - gst-plugins-good = gst_all_1.gst-plugins-good.override { gtkSupport = true; }; - }; - cocoapods = callPackage ../development/tools/cocoapods { }; cocoapods-beta = lowPrio (callPackage ../development/tools/cocoapods { beta = true; });