Treewide: add meta.mainProgram for bupstash, fd, autossh and ssh-to-age
This commit is contained in:
parent
5faab29808
commit
251f7d47fd
|
@ -29,5 +29,6 @@ rustPlatform.buildRustPackage rec {
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ andrewchambers ];
|
maintainers = with maintainers; [ andrewchambers ];
|
||||||
|
mainProgram = "bupstash";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,5 +45,6 @@ rustPlatform.buildRustPackage rec {
|
||||||
changelog = "https://github.com/sharkdp/fd/blob/v${version}/CHANGELOG.md";
|
changelog = "https://github.com/sharkdp/fd/blob/v${version}/CHANGELOG.md";
|
||||||
license = with licenses; [ asl20 /* or */ mit ];
|
license = with licenses; [ asl20 /* or */ mit ];
|
||||||
maintainers = with maintainers; [ dywedir figsoda globin ma27 zowoq ];
|
maintainers = with maintainers; [ dywedir figsoda globin ma27 zowoq ];
|
||||||
|
mainProgram = "fd";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{lib, stdenv, fetchurl, openssh}:
|
{ lib, stdenv, fetchurl, openssh }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "autossh";
|
pname = "autossh";
|
||||||
|
@ -17,13 +17,13 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ openssh ];
|
nativeBuildInputs = [ openssh ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -D -m755 autossh $out/bin/autossh || 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 CHANGES $out/share/doc/autossh/CHANGES || return 1
|
||||||
install -D -m644 README $out/share/doc/autossh/README || 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 autossh.host $out/share/autossh/examples/autossh.host || return 1
|
||||||
install -D -m644 rscreen $out/share/autossh/examples/rscreen || 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 -m644 autossh.1 $out/man/man1/autossh.1 || return 1
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://www.harding.motd.ca/autossh/";
|
homepage = "https://www.harding.motd.ca/autossh/";
|
||||||
|
@ -31,5 +31,6 @@ stdenv.mkDerivation rec {
|
||||||
license = licenses.bsd1;
|
license = licenses.bsd1;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ pSub ];
|
maintainers = with maintainers; [ pSub ];
|
||||||
|
mainProgram = "autossh";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,5 +26,6 @@ buildGoModule rec {
|
||||||
homepage = "https://github.com/Mic92/ssh-to-age";
|
homepage = "https://github.com/Mic92/ssh-to-age";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ mic92 ];
|
maintainers = with maintainers; [ mic92 ];
|
||||||
|
mainProgram = "ssh-to-age";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue