mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
Add meta.mainProgram
(#252060)
This commit is contained in:
parent
3d3251d43c
commit
fe4d446758
@ -40,6 +40,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
homepage = "https://tart.run";
|
||||
license = licenses.fairsource09;
|
||||
maintainers = with maintainers; [ emilytrau Enzime ];
|
||||
mainProgram = finalAttrs.pname;
|
||||
platforms = [ "aarch64-darwin" ];
|
||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||
};
|
||||
|
@ -6,6 +6,7 @@
|
||||
, nose
|
||||
, ptyprocess
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "vncdo";
|
||||
version = "0.12.0";
|
||||
@ -32,7 +33,7 @@ buildPythonPackage rec {
|
||||
description = "A command line VNC client and python library";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ elitak ];
|
||||
mainProgram = pname;
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -1,18 +1,19 @@
|
||||
{ lib, fetchFromGitHub, stdenv }:
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "passh";
|
||||
version = "2020-03-18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "clarkwang";
|
||||
repo = pname;
|
||||
repo = finalAttrs.pname;
|
||||
rev = "7112e667fc9e65f41c384f89ff6938d23e86826c";
|
||||
sha256 = "1g0rx94vqg36kp46f8v4x6jcmvdk85ds6bkrpayq772hbdm1b5z5";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp passh $out/bin
|
||||
cp ${finalAttrs.pname} $out/bin
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
@ -20,6 +21,7 @@ stdenv.mkDerivation rec {
|
||||
description = "An sshpass alternative for non-interactive ssh auth";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.lovesegfault ];
|
||||
mainProgram = finalAttrs.pname;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user