1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

rustus: 0.7.6 -> 0.7.6-unstable-2024-05-10 (#355593)

This commit is contained in:
Yt 2024-11-13 19:25:04 -05:00 committed by GitHub
commit 84053c3e53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 24 additions and 26 deletions

View file

@ -1,16 +1,17 @@
{ stdenv
, lib
, fetchFromGitHub
, rustPlatform
, nix-update-script
, pkg-config
, openssl
, Security
{
stdenv,
lib,
fetchFromGitHub,
rustPlatform,
nix-update-script,
pkg-config,
openssl,
darwin,
}:
let
pname = "rustus";
version = "0.7.6";
version = "0.7.6-unstable-2024-05-10";
in
rustPlatform.buildRustPackage {
inherit pname version;
@ -18,11 +19,11 @@ rustPlatform.buildRustPackage {
src = fetchFromGitHub {
owner = "s3rius";
repo = pname;
rev = version;
hash = "sha256-osxdqwNUONCScFarpQV48C7CR1DVR/mCttaglqiAKPo=";
rev = "a7ebbc3f4c367b0c71b49972b1f6ebbeb08634b8";
hash = "sha256-S3hq6G78HRQVLJuuwfC6U7NQXMSdllrC/ZolVPZRTsA=";
};
cargoHash = "sha256-M0mJ+9VznzHDmdKAsT3YamyG/P0JF8oPeVHaX44NWM4=";
cargoHash = "sha256-uN0nXI15LxtSQpUCOJ8QIdgw2OyQO3i5alTik/fI8GI=";
env.OPENSSL_NO_VENDOR = 1;
@ -30,11 +31,13 @@ rustPlatform.buildRustPackage {
pkg-config
];
buildInputs = [
openssl
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
Security
];
buildInputs =
[
openssl
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Security
];
passthru.updateScript = nix-update-script { };
@ -60,13 +63,12 @@ rustPlatform.buildRustPackage {
# "--skip=util::tests::test_process_multi_addr"
# ];
meta = with lib; {
meta = {
description = "TUS protocol implementation in Rust";
mainProgram = "rustus";
homepage = "https://s3rius.github.io/rustus/";
license = licenses.asl20;
maintainers = with maintainers; [ happysalada ];
platforms = platforms.all;
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ happysalada ];
platforms = lib.platforms.all;
};
}

View file

@ -11764,10 +11764,6 @@ with pkgs;
eventstore = callPackage ../servers/nosql/eventstore { };
rustus = callPackage ../servers/networking/rustus {
inherit (darwin.apple_sdk.frameworks) Security;
};
fedigroups = callPackage ../servers/fedigroups {
inherit (darwin.apple_sdk.frameworks) Security;
};