From 6f4d63b20543430d4d86bae4ba0f52764e3a6234 Mon Sep 17 00:00:00 2001 From: John Shaffer Date: Mon, 12 Dec 2022 18:32:17 -0600 Subject: srvc: 0.8.0 -> 0.9.0 --- pkgs/applications/version-management/srvc/default.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'pkgs/applications/version-management/srvc/default.nix') diff --git a/pkgs/applications/version-management/srvc/default.nix b/pkgs/applications/version-management/srvc/default.nix index 7547d6d4051e5..699103b98f5d8 100644 --- a/pkgs/applications/version-management/srvc/default.nix +++ b/pkgs/applications/version-management/srvc/default.nix @@ -1,28 +1,31 @@ -{ lib, rustPlatform, fetchFromGitHub, stdenv, Security }: +{ lib, rustPlatform, fetchFromGitHub, stdenv, Security, webfs }: rustPlatform.buildRustPackage rec { pname = "srvc"; - version = "0.8.0"; + version = "0.9.0"; src = fetchFromGitHub { owner = "insilica"; repo = "rs-srvc"; rev = "v${version}"; - sha256 = "sha256-2eEuKAMxxTwjDInpYcOlFJha5DTe0IrxT5rI6ymN0hc="; + sha256 = "sha256-XslMwA1DhztK9DPNCucUpzjCQXz6PN8ml8JBvKtJeqg="; }; - cargoSha256 = "sha256-nJM7/w4awbCZQysUOSTO6bfsBXO3agJRdp1RyRZhtUY="; - - # remove timeouts in tests to make them less flaky - patches = [ ./tests-no-timeout.patch ]; + cargoSha256 = "sha256-KxwBF5t8lcaH8ZD4SorIBiq7p6r9LGHfEOyNXtB9HJw="; buildInputs = lib.optionals stdenv.isDarwin [ Security ]; + checkInputs = [ webfs ]; + + # remove timeouts in tests to make them less flaky + TEST_SRVC_DISABLE_TIMEOUT = 1; + meta = with lib; { description = "Sysrev version control"; homepage = "https://github.com/insilica/rs-srvc"; + changelog = "https://github.com/insilica/rs-srvc/blob/v${version}/CHANGELOG.md"; license = licenses.asl20; maintainers = with maintainers; [ john-shaffer ]; mainProgram = "sr"; -- cgit 1.4.1