Merge pull request #240906 from figsoda/rustypaste

rustypaste{,-cli}: update

authored by

Pol Dellaiera and committed by
GitHub
b3aca351 3dc27539

+9 -6
+6 -3
pkgs/servers/rustypaste/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "rustypaste"; 5 - version = "0.10.1"; 6 7 src = fetchFromGitHub { 8 owner = "orhun"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-WLuMG9gC2kSdyrYa0CNnInjetXph0OL/Jmjskih4tuw="; 12 }; 13 14 - cargoHash = "sha256-A651PTooQjITjxCLKPhnFSCxa27uesTOP8ZbAlRbOUk="; 15 16 buildInputs = lib.optionals stdenv.isDarwin [ 17 darwin.apple_sdk.frameworks.CoreServices ··· 20 # Some tests need network 21 checkFlags = [ 22 "--skip=paste::tests::test_paste_data" 23 "--skip=server::tests::test_upload_file" 24 "--skip=server::tests::test_upload_remote_file" 25 "--skip=util::tests::test_get_expired_files" 26 ]; 27 28 meta = with lib; { 29 description = "A minimal file upload/pastebin service";
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "rustypaste"; 5 + version = "0.11.1"; 6 7 src = fetchFromGitHub { 8 owner = "orhun"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-5yttOaDsWcRCFBzziOW4H1Nrs7/X/pGFlnPNUQRf+w8="; 12 }; 13 14 + cargoHash = "sha256-8lv0AGcV4LW6r+K0rIZNV0NPhX4j3+wbMw4JeJkNuXw="; 15 16 buildInputs = lib.optionals stdenv.isDarwin [ 17 darwin.apple_sdk.frameworks.CoreServices ··· 20 # Some tests need network 21 checkFlags = [ 22 "--skip=paste::tests::test_paste_data" 23 + "--skip=server::tests::test_index_with_landing_page_file_not_found" 24 "--skip=server::tests::test_upload_file" 25 "--skip=server::tests::test_upload_remote_file" 26 "--skip=util::tests::test_get_expired_files" 27 ]; 28 + 29 + __darwinAllowLocalNetworking = true; 30 31 meta = with lib; { 32 description = "A minimal file upload/pastebin service";
+3 -3
pkgs/tools/misc/rustypaste-cli/default.nix
··· 7 8 rustPlatform.buildRustPackage rec { 9 pname = "rustypaste-cli"; 10 - version = "0.4.0"; 11 12 src = fetchFromGitHub { 13 owner = "orhun"; 14 repo = "rustypaste-cli"; 15 rev = "v${version}"; 16 - hash = "sha256-Jl7fytDIW6MLY6VX7rDuX9PcZaIqENQbUTMUJKCa8Mg="; 17 }; 18 19 - cargoHash = "sha256-hICwrgzNpyYmNW1gEKgTsSjWyqCaOHc4X37O0R2oSzY="; 20 21 buildInputs = lib.optionals stdenv.isDarwin [ 22 darwin.apple_sdk.frameworks.Security
··· 7 8 rustPlatform.buildRustPackage rec { 9 pname = "rustypaste-cli"; 10 + version = "0.5.0"; 11 12 src = fetchFromGitHub { 13 owner = "orhun"; 14 repo = "rustypaste-cli"; 15 rev = "v${version}"; 16 + hash = "sha256-lMXd/wllk/67W3dJr/ps36s/p+tMCyu2HU9gWYubejw="; 17 }; 18 19 + cargoHash = "sha256-6ddjSP072+jYjPVcTZcQndM1pElUE30hU3M/sf5Lnsk="; 20 21 buildInputs = lib.optionals stdenv.isDarwin [ 22 darwin.apple_sdk.frameworks.Security