From 411d7ebdda421a898a1ea2d5616785a2a948c91b Mon Sep 17 00:00:00 2001 From: wenbin-liu Date: Mon, 8 Dec 2025 20:41:55 +0800 Subject: [PATCH] seadrive-fuse: init at 3.0.18 --- pkgs/by-name/se/seadrive-fuse/package.nix | 62 +++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 pkgs/by-name/se/seadrive-fuse/package.nix diff --git a/pkgs/by-name/se/seadrive-fuse/package.nix b/pkgs/by-name/se/seadrive-fuse/package.nix new file mode 100644 index 000000000000..94f0dca9b822 --- /dev/null +++ b/pkgs/by-name/se/seadrive-fuse/package.nix @@ -0,0 +1,62 @@ +{ + lib, + stdenv, + nix-update-script, + fetchFromGitHub, + autoreconfHook, + curl, + libargon2, + libevent, + libsearpc, + libuuid, + pkg-config, + python3, + sqlite, + vala, + libwebsockets, + fuse, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "seadrive-fuse"; + version = "3.0.18"; + + src = fetchFromGitHub { + owner = "haiwen"; + repo = "seadrive-fuse"; + rev = "v${finalAttrs.version}"; + hash = "sha256-oMi297ORIKdJhuYOvazJ+oSVCwRAqvjy0pc+lyBq5oQ="; + }; + + nativeBuildInputs = [ + libwebsockets + autoreconfHook + vala + fuse + pkg-config + python3 + ]; + + buildInputs = [ + libargon2 + libuuid + sqlite + libsearpc + libevent + curl + ]; + + passthru.updateScript = nix-update-script { }; + + meta = { + homepage = "https://github.com/haiwen/seadrive-fuse"; + description = "SeaDrive daemon with FUSE interface"; + changelog = "https://github.com/haiwen/seadrive-fuse/releases/tag/v${finalAttrs.version}"; + license = lib.licenses.gpl3Only; + platforms = lib.platforms.linux; + maintainers = with lib.maintainers; [ + wenbin-liu + ]; + mainProgram = "seadrive"; + }; +})