diff --git a/pkgs/by-name/ru/rustypaste/package.nix b/pkgs/by-name/ru/rustypaste/package.nix index f52798b0ee73..a80316eea3e6 100644 --- a/pkgs/by-name/ru/rustypaste/package.nix +++ b/pkgs/by-name/ru/rustypaste/package.nix @@ -6,23 +6,25 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "rustypaste"; - version = "0.16.1"; + version = "0.18.1"; src = fetchFromGitHub { owner = "orhun"; repo = "rustypaste"; - rev = "v${finalAttrs.version}"; - sha256 = "sha256-Jfi2Q6551g58dfOqtHtWxkbxwYV71f7MIuLB8RbaR94="; + tag = "v${finalAttrs.version}"; + hash = "sha256-K8hFpIPk53N4yrA7Q5HvRmEtUw03Z7syhtmJ17epaQM="; }; - cargoHash = "sha256-10tBbn4XtdUNhfzb+KpwFGZAc7YVIEQRaqNLzJC1GGI="; + cargoHash = "sha256-PsjQ6or7ID74U60E56g+wOLWy04e28lXiS1Q/mbaSZM="; dontUseCargoParallelTests = true; checkFlags = [ - # requires internet access + # Tests require internet access "--skip=paste::tests::test_paste_data" "--skip=server::tests::test_upload_remote_file" + "--skip=test_validate_remote_url_valid_http" + "--skip=test_validate_remote_url_valid_https" ]; __darwinAllowLocalNetworking = true; @@ -30,11 +32,9 @@ rustPlatform.buildRustPackage (finalAttrs: { meta = { description = "Minimal file upload/pastebin service"; homepage = "https://github.com/orhun/rustypaste"; - changelog = "https://github.com/orhun/rustypaste/blob/v${finalAttrs.version}/CHANGELOG.md"; + changelog = "https://github.com/orhun/rustypaste/blob/v${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.mit; - maintainers = with lib.maintainers; [ - seqizz - ]; + maintainers = with lib.maintainers; [ seqizz ]; mainProgram = "rustypaste"; }; })