mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 03:39:59 +00:00
[Backport release-26.05] rustypaste: 0.16.1 -> 0.18.1 (#563615)
This commit is contained in:
@@ -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";
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user