30 lines
814 B
Nix
30 lines
814 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "piping-server-rust";
|
|
version = "0.18.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nwtgck";
|
|
repo = "piping-server-rust";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-8kYaANVWmBOncTdhtjjbaYnEFQeuWjemdz/kTjwj2fw=";
|
|
};
|
|
|
|
useFetchCargoVendor = true;
|
|
cargoHash = "sha256-m6bYkewBE0ZloDVUhUslS+dgPyoK+eay7rrP3+c00mo=";
|
|
|
|
meta = {
|
|
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 = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ figsoda ];
|
|
mainProgram = "piping-server";
|
|
};
|
|
}
|