about summary refs log tree commit diff
path: root/pkgs/servers/rustypaste/default.nix
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-08-07 12:12:52 -0400
committerfigsoda <figsoda@pm.me>2023-08-07 12:48:06 -0400
commit792284662b7a253ff95face57fb2c5867c33fa98 (patch)
tree91cc74d1ff97de601a759173eb53b0599df581fc /pkgs/servers/rustypaste/default.nix
parentb367b9cf872c8de59d2379330dfe4f541f3ba5cc (diff)
rustypaste: 0.11.1 -> 0.12.0
Diff: https://github.com/orhun/rustypaste/compare/v0.11.1...v0.12.0

Changelog: https://github.com/orhun/rustypaste/blob/v0.12.0/CHANGELOG.md
Diffstat (limited to 'pkgs/servers/rustypaste/default.nix')
-rw-r--r--pkgs/servers/rustypaste/default.nix13
1 files changed, 6 insertions, 7 deletions
diff --git a/pkgs/servers/rustypaste/default.nix b/pkgs/servers/rustypaste/default.nix
index b7b4e3c4ee6ea..2da905e1ffd33 100644
--- a/pkgs/servers/rustypaste/default.nix
+++ b/pkgs/servers/rustypaste/default.nix
@@ -2,28 +2,27 @@
 
 rustPlatform.buildRustPackage rec {
   pname = "rustypaste";
-  version = "0.11.1";
+  version = "0.12.0";
 
   src = fetchFromGitHub {
     owner = "orhun";
     repo = pname;
     rev = "v${version}";
-    sha256 = "sha256-5yttOaDsWcRCFBzziOW4H1Nrs7/X/pGFlnPNUQRf+w8=";
+    sha256 = "sha256-Kk9SDGDTCq1qHew9yrf1HmYAhse5mB4AqH/Oo/lc0dc=";
   };
 
-  cargoHash = "sha256-8lv0AGcV4LW6r+K0rIZNV0NPhX4j3+wbMw4JeJkNuXw=";
+  cargoHash = "sha256-6YTdOb1JvP5yTD1FVpHGG3C+hgiuTUiy05s+e3k8cdI=";
 
   buildInputs = lib.optionals stdenv.isDarwin [
     darwin.apple_sdk.frameworks.CoreServices
   ];
 
-  # Some tests need network
+  dontUseCargoParallelTests = true;
+
   checkFlags = [
+    # requires internet access
     "--skip=paste::tests::test_paste_data"
-    "--skip=server::tests::test_index_with_landing_page_file_not_found"
-    "--skip=server::tests::test_upload_file"
     "--skip=server::tests::test_upload_remote_file"
-    "--skip=util::tests::test_get_expired_files"
   ];
 
   __darwinAllowLocalNetworking = true;