envio: 0.5.1 -> 0.6.1
This commit is contained in:
parent
e1aea43706
commit
320dac95fb
@ -13,29 +13,22 @@ let
|
|||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "envio";
|
pname = "envio";
|
||||||
version = "0.5.1";
|
version = "0.6.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "envio-cli";
|
owner = "envio-cli";
|
||||||
repo = "envio";
|
repo = "envio";
|
||||||
rev = "v${version}";
|
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 ];
|
||||||
|
|
||||||
buildInputs = [ libgpg-error gpgme ]
|
buildInputs = [ libgpg-error gpgme ]
|
||||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
|
++ 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();'
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://envio-cli.github.io/home";
|
homepage = "https://envio-cli.github.io/home";
|
||||||
changelog = "https://github.com/envio-cli/envio/blob/${version}/CHANGELOG.md";
|
changelog = "https://github.com/envio-cli/envio/blob/${version}/CHANGELOG.md";
|
||||||
|
Loading…
Reference in New Issue
Block a user