Merge pull request #114665 from 06kellyjac/agate

agate: 2.5.2 -> 2.5.3
This commit is contained in:
Sandro 2021-02-28 18:42:29 +01:00 committed by GitHub
commit 16d180a5db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,19 +2,27 @@
rustPlatform.buildRustPackage rec {
pname = "agate";
version = "2.5.2";
version = "2.5.3";
src = fetchFromGitHub {
owner = "mbrubeck";
repo = pname;
rev = "v${version}";
sha256 = "sha256-IapgDqRZ7VMWerusWcv++Ky4yWgGLMaq8rFhbPshFjE=";
sha256 = "sha256-EhIBkAPy+sZ629yxJ8GCVhEQx7gQypMFYquGpQJkke0=";
};
cargoSha256 = "sha256-+Ch6nEGxYm2L4S9FkIkenDQovMZvQUJGOu5mR9T8r/Y=";
cargoSha256 = "sha256-nRrFC/6CgXZR78aJQVw2y2sKUmRpz8Rofo0N4vgeekg=";
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
doInstallCheck = true;
installCheckPhase = ''
runHook preInstallCheck
$out/bin/agate --help
$out/bin/agate --version 2>&1 | grep "agate ${version}"
runHook postInstallCheck
'';
meta = with lib; {
homepage = "https://proxy.vulpes.one/gemini/qwertqwefsday.eu/agate.gmi";
changelog = "https://proxy.vulpes.one/gemini/qwertqwefsday.eu/agate.gmi";