agate: 3.0.3 -> 3.1.0

This commit is contained in:
06kellyjac 2021-06-08 14:48:57 +01:00
parent 7e529086a7
commit 3fd6291038

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