Treewide: add meta.mainProgram for bupstash, fd, autossh and ssh-to-age

This commit is contained in:
r-vdp 2023-08-06 01:39:13 +02:00
parent 5faab29808
commit 251f7d47fd
No known key found for this signature in database
4 changed files with 12 additions and 8 deletions

View file

@ -29,5 +29,6 @@ rustPlatform.buildRustPackage rec {
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ andrewchambers ];
mainProgram = "bupstash";
};
}

View file

@ -45,5 +45,6 @@ rustPlatform.buildRustPackage rec {
changelog = "https://github.com/sharkdp/fd/blob/v${version}/CHANGELOG.md";
license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ dywedir figsoda globin ma27 zowoq ];
mainProgram = "fd";
};
}

View file

@ -1,4 +1,4 @@
{lib, stdenv, fetchurl, openssh}:
{ lib, stdenv, fetchurl, openssh }:
stdenv.mkDerivation rec {
pname = "autossh";
@ -17,13 +17,13 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ openssh ];
installPhase = ''
install -D -m755 autossh $out/bin/autossh || return 1
install -D -m644 CHANGES $out/share/doc/autossh/CHANGES || return 1
install -D -m644 README $out/share/doc/autossh/README || return 1
install -D -m644 autossh.host $out/share/autossh/examples/autossh.host || return 1
install -D -m644 rscreen $out/share/autossh/examples/rscreen || return 1
install -D -m644 autossh.1 $out/man/man1/autossh.1 || return 1
'';
install -D -m755 autossh $out/bin/autossh || return 1
install -D -m644 CHANGES $out/share/doc/autossh/CHANGES || return 1
install -D -m644 README $out/share/doc/autossh/README || return 1
install -D -m644 autossh.host $out/share/autossh/examples/autossh.host || return 1
install -D -m644 rscreen $out/share/autossh/examples/rscreen || return 1
install -D -m644 autossh.1 $out/man/man1/autossh.1 || return 1
'';
meta = with lib; {
homepage = "https://www.harding.motd.ca/autossh/";
@ -31,5 +31,6 @@ stdenv.mkDerivation rec {
license = licenses.bsd1;
platforms = platforms.unix;
maintainers = with maintainers; [ pSub ];
mainProgram = "autossh";
};
}

View file

@ -26,5 +26,6 @@ buildGoModule rec {
homepage = "https://github.com/Mic92/ssh-to-age";
license = licenses.mit;
maintainers = with maintainers; [ mic92 ];
mainProgram = "ssh-to-age";
};
}