summary refs log tree commit diff
path: root/pkgs/tools/security
diff options
context:
space:
mode:
authorMalo Bourgon <mbourgon@gmail.com>2022-05-04 17:46:39 -0700
committerMalo Bourgon <mbourgon@gmail.com>2022-05-04 18:08:19 -0700
commit16e15fa68f0247d1ccc9bf94e2906097bcaa2d5c (patch)
tree70613ead07ec6032ead7b0f068c62ccf7ea688f7 /pkgs/tools/security
parent5d4bdece1f2d20eb16e5ee8e634134bd41ba02b1 (diff)
downloadnixpkgs-16e15fa68f0247d1ccc9bf94e2906097bcaa2d5c.tar
nixpkgs-16e15fa68f0247d1ccc9bf94e2906097bcaa2d5c.tar.gz
nixpkgs-16e15fa68f0247d1ccc9bf94e2906097bcaa2d5c.tar.bz2
nixpkgs-16e15fa68f0247d1ccc9bf94e2906097bcaa2d5c.tar.lz
nixpkgs-16e15fa68f0247d1ccc9bf94e2906097bcaa2d5c.tar.xz
nixpkgs-16e15fa68f0247d1ccc9bf94e2906097bcaa2d5c.tar.zst
nixpkgs-16e15fa68f0247d1ccc9bf94e2906097bcaa2d5c.zip
treewide: add meta.mainProgram to many packages
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r--pkgs/tools/security/bash-supergenpass/default.nix5
-rw-r--r--pkgs/tools/security/sequoia/default.nix1
-rw-r--r--pkgs/tools/security/vault/vault-bin.nix5
3 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/tools/security/bash-supergenpass/default.nix b/pkgs/tools/security/bash-supergenpass/default.nix
index ba80734e5cf..ae831bf8675 100644
--- a/pkgs/tools/security/bash-supergenpass/default.nix
+++ b/pkgs/tools/security/bash-supergenpass/default.nix
@@ -40,9 +40,10 @@ stdenv.mkDerivation {
 
       supergenpass will ask for your master password interactively, and it will not be displayed on your terminal.
     '';
+    homepage = "https://github.com/lanzz/bash-supergenpass";
     license = licenses.mit;
-    platforms = platforms.all;
     maintainers = with maintainers; [ fgaz ];
-    homepage = "https://github.com/lanzz/bash-supergenpass";
+    mainProgram = "supergenpass";
+    platforms = platforms.all;
   };
 }
diff --git a/pkgs/tools/security/sequoia/default.nix b/pkgs/tools/security/sequoia/default.nix
index 4803430018e..50477cf92f0 100644
--- a/pkgs/tools/security/sequoia/default.nix
+++ b/pkgs/tools/security/sequoia/default.nix
@@ -95,5 +95,6 @@ rustPlatform.buildRustPackage rec {
     homepage = "https://sequoia-pgp.org/";
     license = licenses.gpl2Plus;
     maintainers = with maintainers; [ minijackson doronbehar ];
+    mainProgram = "sq";
   };
 }
diff --git a/pkgs/tools/security/vault/vault-bin.nix b/pkgs/tools/security/vault/vault-bin.nix
index 048d06f2004..d1a26f25724 100644
--- a/pkgs/tools/security/vault/vault-bin.nix
+++ b/pkgs/tools/security/vault/vault-bin.nix
@@ -52,10 +52,11 @@ stdenv.mkDerivation rec {
   passthru.updateScript = ./update-bin.sh;
 
   meta = with lib; {
-    homepage = "https://www.vaultproject.io";
     description = "A tool for managing secrets, this binary includes the UI";
-    platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-darwin" "aarch64-linux" ];
+    homepage = "https://www.vaultproject.io";
     license = licenses.mpl20;
     maintainers = with maintainers; teams.serokell.members ++ [ offline psyanticy Chili-Man techknowlogick ];
+    mainProgram = "vault";
+    platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-darwin" "aarch64-linux" ];
   };
 }