about summary refs log tree commit diff
path: root/pkgs/by-name/rs
diff options
context:
space:
mode:
authorAdam C. Stephens <2071575+adamcstephens@users.noreply.github.com>2024-03-20 10:29:10 -0400
committerGitHub <noreply@github.com>2024-03-20 10:29:10 -0400
commit57eac43da2cde5212eb2c4643ef170c324ef3558 (patch)
tree5aa5b7aa2dd5628b51bca490fe77b4139c6c5227 /pkgs/by-name/rs
parent3c3ae636321fd359fe96f18a6670b01e13a9e61f (diff)
parentf54aaa5ba85f98857ac58028f746ec484c3c4ea4 (diff)
Merge pull request #295753 from MatthewCroughan/mc/rs-tftpd
rs-tftpd: init at 0.2.12
Diffstat (limited to 'pkgs/by-name/rs')
-rw-r--r--pkgs/by-name/rs/rs-tftpd/package.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/by-name/rs/rs-tftpd/package.nix b/pkgs/by-name/rs/rs-tftpd/package.nix
new file mode 100644
index 0000000000000..43b010913ea8a
--- /dev/null
+++ b/pkgs/by-name/rs/rs-tftpd/package.nix
@@ -0,0 +1,26 @@
+{ 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";
+  };
+}