summaryrefslogtreecommitdiffstats
path: root/pkgs/servers
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2023-09-04 20:19:44 +0200
committerVladimír Čunát <v@cunat.cz>2023-09-04 20:19:44 +0200
commitb4cc33304856c45c4965127ea2905c7f20cb4eaa (patch)
treec654168463fae5e46c3f0e41c2bc735e27995858 /pkgs/servers
parent0a1690dd6bf9ed7f3d6d0caeb8036274deafcdac (diff)
parentfcf38c9baca5f009ceb601353dcb1857c29d3e06 (diff)
Merge branch 'master' into staging-next
Diffstat (limited to 'pkgs/servers')
-rw-r--r--pkgs/servers/bililiverecorder/default.nix1
-rw-r--r--pkgs/servers/ftp/uftpd/default.nix24
2 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/servers/bililiverecorder/default.nix b/pkgs/servers/bililiverecorder/default.nix
index 5e1b6c304a33..5999c9d8a41e 100644
--- a/pkgs/servers/bililiverecorder/default.nix
+++ b/pkgs/servers/bililiverecorder/default.nix
@@ -44,6 +44,7 @@ stdenv.mkDerivation {
description = "A convenient free open source bilibili live recording tool";
homepage = "https://rec.danmuji.org/";
changelog = "https://github.com/BililiveRecorder/BililiveRecorder/releases/tag/${version}";
+ mainProgram = "BililiveRecorder";
license = licenses.gpl3Only;
maintainers = with maintainers; [ zaldnoay ];
platforms = platforms.unix;
diff --git a/pkgs/servers/ftp/uftpd/default.nix b/pkgs/servers/ftp/uftpd/default.nix
new file mode 100644
index 000000000000..34557b955a13
--- /dev/null
+++ b/pkgs/servers/ftp/uftpd/default.nix
@@ -0,0 +1,24 @@
+{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook, libuev, libite }:
+
+stdenv.mkDerivation rec {
+ pname = "uftpd";
+ version = "2.15";
+
+ src = fetchFromGitHub {
+ owner = "troglobit";
+ repo = "uftpd";
+ rev = "v${version}";
+ hash = "sha256-+y1eRPUgYf5laRFIDD1XOEfonPP8QMJNCSkmHlXIjdY=";
+ };
+
+ nativeBuildInputs = [ pkg-config autoreconfHook ];
+ buildInputs = [ libuev libite ];
+
+ meta = with lib; {
+ description = "FTP/TFTP server for Linux that just works™";
+ homepage = "https://troglobit.com/projects/uftpd/";
+ license = licenses.isc;
+ platforms = platforms.unix;
+ maintainers = with maintainers; [ vifino ];
+ };
+}