Skip to content

Commit

Permalink
unFTP: init at 0.14.5
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelsgirao committed Jan 17, 2024
1 parent f36047a commit eb88b0b
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pkgs/servers/unftp/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{ lib
, linux-pam
, rustPlatform
, fetchFromGitHub
, buildFeatures ? [ "gnu" ]
}:

rustPlatform.buildRustPackage rec {
pname = "unFTP";
version = "0.14.5";

src = fetchFromGitHub {
owner = "bolcom";
repo = pname;
rev = "v${version}";
sha256 = "sha256-CPq4CH7reS5AI145l8U1nekm2MKnmoBfVqENR9QOKF4";
};

#Extra cargo Build Features
inherit buildFeatures;

buildInputs = [
linux-pam
];

cargoSha256 = "sha256-vFu1D2GYItVGeTmd/rwmZHM/mf4zQ3tzBLux7vb+yZ0=";

meta = with lib; {
description = "A FTP(S) server with a couple of twists written in Rust";
homepage = "https://unftp.rs";
license = licenses.asl20;
maintainers = with maintainers; [ rafaelsgirao ];
platforms = platforms.unix;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26838,6 +26838,8 @@ with pkgs;

system-sendmail = lowPrio (callPackage ../servers/mail/system-sendmail { });

unFTP = callPackage ../servers/unftp { };

# PulseAudio daemons

hsphfpd = callPackage ../servers/pulseaudio/hsphfpd.nix { };
Expand Down

0 comments on commit eb88b0b

Please sign in to comment.