Merge pull request #126209 from 06kellyjac/agate

This commit is contained in:
Sandro 2021-06-09 13:25:03 +02:00 committed by GitHub
commit 4dc6d8c468
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,26 +2,19 @@
rustPlatform.buildRustPackage rec {
pname = "agate";
version = "3.0.3";
version = "3.1.0";
src = fetchFromGitHub {
owner = "mbrubeck";
repo = pname;
rev = "v${version}";
sha256 = "sha256-0sh9OuX52kvhTt681uZesOUttrxH8ZMxn6mTILQDQuU=";
sha256 = "sha256-miIMz4Lk4R5So96Ceqe1Fl5ozpf47qWq0GgtKFDDCCA=";
};
cargoSha256 = "sha256-JBmSa2sc/eor0bCcIMhGGLmcJN+wCloP0Ao9DBybQbc=";
cargoSha256 = "sha256-NZpqCl37dZUvXmn4Q1Pvbz3LSxk1s0s5x1CBO0POA/4=";
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
checkFlags = [
# Username and Password use the same ports and causes collision
# https://github.com/mbrubeck/agate/issues/50
"--skip username"
"--skip password"
];
doInstallCheck = true;
installCheckPhase = ''
runHook preInstallCheck