1 { lib, rustPlatform, fetchFromGitHub, stdenv, CoreServices, Security }:
3 rustPlatform.buildRustPackage rec {
4 pname = "piping-server-rust";
7 src = fetchFromGitHub {
11 sha256 = "sha256-8kYaANVWmBOncTdhtjjbaYnEFQeuWjemdz/kTjwj2fw=";
14 cargoHash = "sha256-YSiClSnjgqFqT2IGJoatcy7j3NUKcff826AvJ/+RNNU=";
16 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices Security ];
19 description = "Infinitely transfer between every device over pure HTTP with pipes or browsers";
20 homepage = "https://github.com/nwtgck/piping-server-rust";
21 changelog = "https://github.com/nwtgck/piping-server-rust/blob/v${version}/CHANGELOG.md";
22 license = licenses.mit;
23 maintainers = with maintainers; [ figsoda ];
24 mainProgram = "piping-server";