Add `meta.mainProgram` (#252060)

authored by Michael Hoang and committed by GitHub fe4d4467 3d3251d4

+9 -5
+1
pkgs/applications/virtualization/tart/default.nix
··· 40 homepage = "https://tart.run"; 41 license = licenses.fairsource09; 42 maintainers = with maintainers; [ emilytrau Enzime ]; 43 platforms = [ "aarch64-darwin" ]; 44 sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 45 };
··· 40 homepage = "https://tart.run"; 41 license = licenses.fairsource09; 42 maintainers = with maintainers; [ emilytrau Enzime ]; 43 + mainProgram = finalAttrs.pname; 44 platforms = [ "aarch64-darwin" ]; 45 sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 46 };
+2 -1
pkgs/development/python-modules/vncdo/default.nix
··· 6 , nose 7 , ptyprocess 8 }: 9 buildPythonPackage rec { 10 pname = "vncdo"; 11 version = "0.12.0"; ··· 32 description = "A command line VNC client and python library"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ elitak ]; 35 platforms = with platforms; linux ++ darwin; 36 }; 37 - 38 }
··· 6 , nose 7 , ptyprocess 8 }: 9 + 10 buildPythonPackage rec { 11 pname = "vncdo"; 12 version = "0.12.0"; ··· 33 description = "A command line VNC client and python library"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ elitak ]; 36 + mainProgram = pname; 37 platforms = with platforms; linux ++ darwin; 38 }; 39 }
+6 -4
pkgs/tools/networking/passh/default.nix
··· 1 { lib, fetchFromGitHub, stdenv }: 2 - stdenv.mkDerivation rec { 3 pname = "passh"; 4 version = "2020-03-18"; 5 6 src = fetchFromGitHub { 7 owner = "clarkwang"; 8 - repo = pname; 9 rev = "7112e667fc9e65f41c384f89ff6938d23e86826c"; 10 sha256 = "1g0rx94vqg36kp46f8v4x6jcmvdk85ds6bkrpayq772hbdm1b5z5"; 11 }; 12 13 installPhase = '' 14 mkdir -p $out/bin 15 - cp passh $out/bin 16 ''; 17 18 meta = with lib; { ··· 20 description = "An sshpass alternative for non-interactive ssh auth"; 21 license = licenses.gpl3; 22 maintainers = [ maintainers.lovesegfault ]; 23 platforms = platforms.unix; 24 }; 25 - }
··· 1 { lib, fetchFromGitHub, stdenv }: 2 + 3 + stdenv.mkDerivation (finalAttrs: { 4 pname = "passh"; 5 version = "2020-03-18"; 6 7 src = fetchFromGitHub { 8 owner = "clarkwang"; 9 + repo = finalAttrs.pname; 10 rev = "7112e667fc9e65f41c384f89ff6938d23e86826c"; 11 sha256 = "1g0rx94vqg36kp46f8v4x6jcmvdk85ds6bkrpayq772hbdm1b5z5"; 12 }; 13 14 installPhase = '' 15 mkdir -p $out/bin 16 + cp ${finalAttrs.pname} $out/bin 17 ''; 18 19 meta = with lib; { ··· 21 description = "An sshpass alternative for non-interactive ssh auth"; 22 license = licenses.gpl3; 23 maintainers = [ maintainers.lovesegfault ]; 24 + mainProgram = finalAttrs.pname; 25 platforms = platforms.unix; 26 }; 27 + })