about summary refs log tree commit diff
path: root/pkgs/by-name/rs/rs-tftpd/package.nix
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2024-03-20 18:01:02 +0000
committerGitHub <noreply@github.com>2024-03-20 18:01:02 +0000
commit36232fff71d83ffd6df00c11c237f1fc478a4911 (patch)
treeea1ca670f981ccf3586b1c3698db4e6fc0a72b01 /pkgs/by-name/rs/rs-tftpd/package.nix
parent1856b324ce0443ea4f6a870d30112843a6013c2f (diff)
parent761426d33e10ee8972e3482aa0bcf634605c96b2 (diff)
downloadnixlib-36232fff71d83ffd6df00c11c237f1fc478a4911.tar
nixlib-36232fff71d83ffd6df00c11c237f1fc478a4911.tar.gz
nixlib-36232fff71d83ffd6df00c11c237f1fc478a4911.tar.bz2
nixlib-36232fff71d83ffd6df00c11c237f1fc478a4911.tar.lz
nixlib-36232fff71d83ffd6df00c11c237f1fc478a4911.tar.xz
nixlib-36232fff71d83ffd6df00c11c237f1fc478a4911.tar.zst
nixlib-36232fff71d83ffd6df00c11c237f1fc478a4911.zip
Merge master into staging-next
Diffstat (limited to 'pkgs/by-name/rs/rs-tftpd/package.nix')
-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 000000000000..43b010913ea8
--- /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";
+  };
+}