mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
f54aaa5ba8
Co-authored-by: Adam C. Stephens <2071575+adamcstephens@users.noreply.github.com>
27 lines
617 B
Nix
27 lines
617 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "rs-tftpd";
|
|
version = "0.2.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "altugbakan";
|
|
repo = "rs-tftpd";
|
|
rev = version;
|
|
hash = "sha256-H67lXwX+4guHpdq0yTHe6tl1NxC41saNrM9g+yH5otk=";
|
|
};
|
|
|
|
cargoHash = "sha256-B5kduRuX9Lcdd31yj4PsDo8fyy0nabtmsiAXvc8RlYo=";
|
|
|
|
meta = with lib; {
|
|
description = "TFTP Server Daemon implemented in Rust";
|
|
homepage = "https://github.com/altugbakan/rs-tftpd";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ matthewcroughan ];
|
|
mainProgram = "tftpd";
|
|
};
|
|
}
|