seafile-server: 10.0.1 -> 11.0.12

This commit is contained in:
melvyn 2024-09-27 19:56:11 -04:00
parent d3b5dc8da1
commit e6e65f022c
No known key found for this signature in database
GPG Key ID: 25A2B7280CE3AFF6
3 changed files with 57 additions and 34 deletions

View File

@ -1,4 +1,10 @@
{ stdenv, lib, fetchFromGitHub, cmake, libevent }:
{
stdenv,
lib,
fetchFromGitHub,
cmake,
libevent,
}:
stdenv.mkDerivation rec {
pname = "libevhtp";
@ -24,6 +30,10 @@ stdenv.mkDerivation rec {
description = "Create extremely-fast and secure embedded HTTP servers with ease";
homepage = "https://github.com/criticalstack/libevhtp";
license = licenses.bsd3;
maintainers = with maintainers; [ greizgh schmittlauch ];
maintainers = with maintainers; [
greizgh
schmittlauch
melvyn2
];
};
}

View File

@ -1,50 +1,61 @@
{ stdenv
, lib
, fetchFromGitHub
, pkg-config
, python3
, autoreconfHook
, libuuid
, sqlite
, glib
, libevent
, libsearpc
, openssl
, fuse
, libarchive
, libjwt
, curl
, which
, vala
, cmake
, oniguruma
, nixosTests
{
stdenv,
lib,
fetchFromGitHub,
pkg-config,
python3,
autoreconfHook,
libuuid,
libmysqlclient,
sqlite,
glib,
libevent,
libsearpc,
openssl,
fuse,
libarchive,
libjwt,
curl,
which,
vala,
cmake,
oniguruma,
nixosTests,
}:
let
# seafile-server relies on a specific version of libevhtp.
# It contains non upstreamed patches and is forked off an outdated version.
libevhtp = import ./libevhtp.nix {
inherit stdenv lib fetchFromGitHub cmake libevent;
inherit
stdenv
lib
fetchFromGitHub
cmake
libevent
;
};
in
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "seafile-server";
version = "10.0.1";
version = "11.0.12";
src = fetchFromGitHub {
owner = "haiwen";
repo = "seafile-server";
rev = "db09baec1b88fc131bf4453a808ab63a3fc714c9"; # using a fixed revision because upstream may re-tag releases :/
sha256 = "sha256-a5vtJcbnaYzq6/3xmhbWk23BZ+Wil/Tb/q22ML4bDqs=";
rev = "5e6c0974e6abe5d92b8ba1db41c6ddbc1029f2d5"; # using a fixed revision because upstream may re-tag releases :/
hash = "sha256-BVa4QZiHPkqRB5FvDlCSbEVxdnyxVy2KuCDb2orRMuI=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
libuuid
libmysqlclient
sqlite
openssl
glib
libsearpc
libevent
@ -52,7 +63,6 @@ stdenv.mkDerivation rec {
fuse
libarchive
libjwt
curl
which
vala
libevhtp
@ -73,6 +83,11 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/haiwen/seafile-server";
license = licenses.agpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ greizgh schmittlauch ];
maintainers = with maintainers; [
greizgh
schmittlauch
melvyn2
];
mainProgram = "seaf-server";
};
}

View File

@ -38250,8 +38250,6 @@ with pkgs;
sct = callPackage ../tools/X11/sct { };
seafile-server = callPackage ../servers/seafile-server { };
seafile-shared = callPackage ../misc/seafile-shared { };
ser2net = callPackage ../servers/ser2net { };