From dd2ba7159ee19843346bcee5172f279359cbd2dc Mon Sep 17 00:00:00 2001 From: figsoda Date: Mon, 14 Aug 2023 19:44:04 -0400 Subject: [PATCH] dufs: 0.34.2 -> 0.35.0 Diff: https://github.com/sigoden/dufs/compare/v0.34.2...v0.35.0 Changelog: https://github.com/sigoden/dufs/blob/v0.35.0/CHANGELOG.md --- pkgs/servers/http/dufs/default.nix | 20 ++++++++++++++------ pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/pkgs/servers/http/dufs/default.nix b/pkgs/servers/http/dufs/default.nix index b139577a8664..65582acd9cab 100644 --- a/pkgs/servers/http/dufs/default.nix +++ b/pkgs/servers/http/dufs/default.nix @@ -1,17 +1,24 @@ -{ stdenv, lib, fetchFromGitHub, rustPlatform, Security, openssl, pkg-config }: +{ lib +, rustPlatform +, fetchFromGitHub +, stdenv +, pkg-config +, openssl +, darwin +}: rustPlatform.buildRustPackage rec { pname = "dufs"; - version = "0.34.2"; + version = "0.35.0"; src = fetchFromGitHub { owner = "sigoden"; repo = pname; rev = "v${version}"; - sha256 = "sha256-NkH7w5HEQFhnovUmjN/qW5QZwO8mVQZMbhpNFkKtLTI="; + sha256 = "sha256-FrLvwXEnNEKi8FvPIs6A52WpSUT+pUCc61JBi9M/PPw="; }; - cargoHash = "sha256-bUznaVyhZswLaXUgC+GUh5ZpJQW7Vkcoui6CO9ds22g="; + cargoHash = "sha256-YHFEjs8a1QJHWYVjAQxmpMIQ2aDbu6mxeuNqcvReYR0="; nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config @@ -20,7 +27,7 @@ rustPlatform.buildRustPackage rec { buildInputs = lib.optionals stdenv.isLinux [ openssl ] ++ lib.optionals stdenv.isDarwin [ - Security + darwin.apple_sdk.frameworks.Security ]; # FIXME: checkPhase on darwin will leave some zombie spawn processes @@ -34,7 +41,8 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A file server that supports static serving, uploading, searching, accessing control, webdav"; homepage = "https://github.com/sigoden/dufs"; + changelog = "https://github.com/sigoden/dufs/blob/${src.rev}/CHANGELOG.md"; license = with licenses; [ asl20 /* or */ mit ]; - maintainers = [ maintainers.holymonson ]; + maintainers = with maintainers; [ figsoda holymonson ]; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0ce71f677689..55488973116e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -595,9 +595,7 @@ with pkgs; dtv-scan-tables = callPackage ../data/misc/dtv-scan-tables { }; - dufs = callPackage ../servers/http/dufs { - inherit (darwin.apple_sdk.frameworks) Security; - }; + dufs = callPackage ../servers/http/dufs { }; dynein = callPackage ../development/tools/database/dynein { inherit (darwin.apple_sdk.frameworks) Security;