about summary refs log tree commit diff
path: root/pkgs/applications/version-management/srvc/default.nix
diff options
context:
space:
mode:
authorJohn Shaffer <jdsha@proton.me>2022-12-12 18:32:17 -0600
committerJohn Shaffer <jdsha@proton.me>2022-12-12 20:40:06 -0600
commit6f4d63b20543430d4d86bae4ba0f52764e3a6234 (patch)
tree773b1a1d27f008dc24e23f91a7d7415be8b4d52e /pkgs/applications/version-management/srvc/default.nix
parentf5c7a97d534a6cd0a5774e9f3a5fd045f998374d (diff)
srvc: 0.8.0 -> 0.9.0
Diffstat (limited to 'pkgs/applications/version-management/srvc/default.nix')
-rw-r--r--pkgs/applications/version-management/srvc/default.nix17
1 files changed, 10 insertions, 7 deletions
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";