Loading pkgs/by-name/en/envio/package.nix +31 −23 Original line number Diff line number Diff line { lib , stdenv , fetchFromGitHub , darwin , gpgme , libgpg-error , pkg-config , rustPlatform { lib, stdenv, fetchFromGitHub, fetchpatch, installShellFiles, darwin, gpgme, libgpg-error, pkg-config, rustPlatform, }: let Loading @@ -13,27 +16,29 @@ let in rustPlatform.buildRustPackage rec { pname = "envio"; version = "0.5.1"; version = "0.6.1"; src = fetchFromGitHub { owner = "envio-cli"; repo = "envio"; rev = "v${version}"; hash = "sha256-KhjHd+1IeKdASeYP2rPtyTmtkPcBbaruylmOwTPtFgo="; hash = "sha256-je0DBoBIayFK//Aija5bnO/2z+hxNWgVkwOgxMyq5s4="; }; cargoHash = "sha256-qmJUARwsGln07RAX1Ab0cNDgJq7NkezuT0tZsyd48Mw="; cargoHash = "sha256-L7GgPocj32zAfR27dgKK7/OM106cATdCqufSvG3MFYQ="; nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config installShellFiles ]; buildInputs = [ libgpg-error gpgme ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ]; buildInputs = [ libgpg-error gpgme ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ]; # Remove postPatch when updating to the next envio release # For details see https://github.com/envio-cli/envio/pull/31 postPatch = '' substituteInPlace build.rs\ --replace 'fn get_version() -> String {' 'fn get_version() -> String { return "${version}".to_string();' postInstall = '' installManPage man/*.1 ''; meta = with lib; { Loading @@ -47,7 +52,10 @@ rustPlatform.buildRustPackage rec { switch between different configurations and apply them to their current environment. ''; license = with licenses; [ mit asl20 ]; license = with licenses; [ mit asl20 ]; platforms = platforms.unix; maintainers = with maintainers; [ afh ]; }; Loading Loading
pkgs/by-name/en/envio/package.nix +31 −23 Original line number Diff line number Diff line { lib , stdenv , fetchFromGitHub , darwin , gpgme , libgpg-error , pkg-config , rustPlatform { lib, stdenv, fetchFromGitHub, fetchpatch, installShellFiles, darwin, gpgme, libgpg-error, pkg-config, rustPlatform, }: let Loading @@ -13,27 +16,29 @@ let in rustPlatform.buildRustPackage rec { pname = "envio"; version = "0.5.1"; version = "0.6.1"; src = fetchFromGitHub { owner = "envio-cli"; repo = "envio"; rev = "v${version}"; hash = "sha256-KhjHd+1IeKdASeYP2rPtyTmtkPcBbaruylmOwTPtFgo="; hash = "sha256-je0DBoBIayFK//Aija5bnO/2z+hxNWgVkwOgxMyq5s4="; }; cargoHash = "sha256-qmJUARwsGln07RAX1Ab0cNDgJq7NkezuT0tZsyd48Mw="; cargoHash = "sha256-L7GgPocj32zAfR27dgKK7/OM106cATdCqufSvG3MFYQ="; nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config installShellFiles ]; buildInputs = [ libgpg-error gpgme ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ]; buildInputs = [ libgpg-error gpgme ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ]; # Remove postPatch when updating to the next envio release # For details see https://github.com/envio-cli/envio/pull/31 postPatch = '' substituteInPlace build.rs\ --replace 'fn get_version() -> String {' 'fn get_version() -> String { return "${version}".to_string();' postInstall = '' installManPage man/*.1 ''; meta = with lib; { Loading @@ -47,7 +52,10 @@ rustPlatform.buildRustPackage rec { switch between different configurations and apply them to their current environment. ''; license = with licenses; [ mit asl20 ]; license = with licenses; [ mit asl20 ]; platforms = platforms.unix; maintainers = with maintainers; [ afh ]; }; Loading