diff --git a/pkgs/servers/piping-server-rust/default.nix b/pkgs/servers/piping-server-rust/default.nix new file mode 100644 index 000000000000..f37dbee8eb39 --- /dev/null +++ b/pkgs/servers/piping-server-rust/default.nix @@ -0,0 +1,24 @@ +{ lib, rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "piping-server-rust"; + version = "0.9.1"; + + src = fetchFromGitHub { + owner = "nwtgck"; + repo = pname; + rev = "v${version}"; + sha256 = "16jzl0nk14gzb5kvilr17f02b41ma7xwh8y0g42pm9sb7jdbcn7g"; + }; + + cargoSha256 = "sha256-SDAxXYX51/4S7zRTdNZK9uSjKHKrAXpDJgRRDyu6qug="; + + meta = with lib; { + description = "Infinitely transfer between every device over pure HTTP with pipes or browsers"; + homepage = "https://github.com/nwtgck/piping-server-rust"; + changelog = "https://github.com/nwtgck/piping-server-rust/blob/v${version}/CHANGELOG.md"; + license = licenses.mit; + maintainers = with maintainers; [ figsoda ]; + mainProgram = "piping-server"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3d7ee648a3ce..6885d9d9328e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8449,6 +8449,8 @@ with pkgs; pinnwand = callPackage ../servers/pinnwand { }; + piping-server-rust = callPackage ../servers/piping-server-rust { }; + pirate-get = callPackage ../tools/networking/pirate-get { }; pipr = callPackage ../applications/misc/pipr { };