depot/third_party/nixpkgs/pkgs/servers/piping-server-rust/default.nix
Default email a66bca1520 Project import generated by Copybara.
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
2022-12-17 11:02:37 +01:00

26 lines
872 B
Nix

{ lib, rustPlatform, fetchFromGitHub, stdenv, CoreServices, Security }:
rustPlatform.buildRustPackage rec {
pname = "piping-server-rust";
version = "0.15.0";
src = fetchFromGitHub {
owner = "nwtgck";
repo = pname;
rev = "v${version}";
sha256 = "sha256-s7tfGt1P/GmvjkIcy8DEwz+ObPxoMsIL7meAc5vMkKo=";
};
cargoSha256 = "sha256-gqKEFqf49sKZy+L0X4MxUfx2+iYoNIU415xHqOy8MZA=";
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices Security ];
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";
};
}