7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
26 lines
883 B
Nix
26 lines
883 B
Nix
{ lib, rustPlatform, fetchFromGitHub, stdenv, CoreServices, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "piping-server-rust";
|
|
version = "0.18.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nwtgck";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-8kYaANVWmBOncTdhtjjbaYnEFQeuWjemdz/kTjwj2fw=";
|
|
};
|
|
|
|
cargoHash = "sha256-YSiClSnjgqFqT2IGJoatcy7j3NUKcff826AvJ/+RNNU=";
|
|
|
|
buildInputs = lib.optionals stdenv.hostPlatform.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";
|
|
};
|
|
}
|