envio: add manpage, reformat using nixfmt-rfc-style
This commit is contained in:
parent
320dac95fb
commit
61e7e2e965
@ -1,11 +1,14 @@
|
|||||||
{ lib
|
{
|
||||||
, stdenv
|
lib,
|
||||||
, fetchFromGitHub
|
stdenv,
|
||||||
, darwin
|
fetchFromGitHub,
|
||||||
, gpgme
|
fetchpatch,
|
||||||
, libgpg-error
|
installShellFiles,
|
||||||
, pkg-config
|
darwin,
|
||||||
, rustPlatform
|
gpgme,
|
||||||
|
libgpg-error,
|
||||||
|
pkg-config,
|
||||||
|
rustPlatform,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -24,10 +27,19 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoHash = "sha256-L7GgPocj32zAfR27dgKK7/OM106cATdCqufSvG3MFYQ=";
|
cargoHash = "sha256-L7GgPocj32zAfR27dgKK7/OM106cATdCqufSvG3MFYQ=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
installShellFiles
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ libgpg-error gpgme ]
|
buildInputs = [
|
||||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
|
libgpg-error
|
||||||
|
gpgme
|
||||||
|
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
installManPage man/*.1
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://envio-cli.github.io/home";
|
homepage = "https://envio-cli.github.io/home";
|
||||||
@ -40,7 +52,10 @@ rustPlatform.buildRustPackage rec {
|
|||||||
switch between different configurations and apply them to their current
|
switch between different configurations and apply them to their current
|
||||||
environment.
|
environment.
|
||||||
'';
|
'';
|
||||||
license = with licenses; [ mit asl20 ];
|
license = with licenses; [
|
||||||
|
mit
|
||||||
|
asl20
|
||||||
|
];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ afh ];
|
maintainers = with maintainers; [ afh ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user