From c9a1fcde03a2e3811ba7c6ae36ba6c698b873518 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Thu, 25 Jan 2024 02:46:57 +0800 Subject: [PATCH] yj: add meta.mainProgram, move to by-name --- .../tools/yj/default.nix => by-name/yj/yj/package.nix} | 1 + pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) rename pkgs/{development/tools/yj/default.nix => by-name/yj/yj/package.nix} (96%) diff --git a/pkgs/development/tools/yj/default.nix b/pkgs/by-name/yj/yj/package.nix similarity index 96% rename from pkgs/development/tools/yj/default.nix rename to pkgs/by-name/yj/yj/package.nix index 150278c0ac4d..ae4597619583 100644 --- a/pkgs/development/tools/yj/default.nix +++ b/pkgs/by-name/yj/yj/package.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Convert YAML <=> TOML <=> JSON <=> HCL"; license = licenses.asl20; + mainProgram = "yj"; maintainers = with maintainers; [ Profpatsch ]; homepage = "https://github.com/sclevine/yj"; }; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2c76ff285563..7e80c7b5233a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15155,8 +15155,6 @@ with pkgs; haskellPackages = haskell.packages.ghc810; }; - yj = callPackage ../development/tools/yj { }; - yaydl = callPackage ../tools/video/yaydl { inherit (darwin.apple_sdk.frameworks) Security; };