diff options
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r-- | pkgs/servers/http/dufs/default.nix | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/pkgs/servers/http/dufs/default.nix b/pkgs/servers/http/dufs/default.nix index b139577a86644..65582acd9cab3 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 ]; }; } |