nixpkgs/pkgs/servers/piping-server-rust/default.nix

27 lines
872 B
Nix
Raw Normal View History

2021-11-28 19:18:40 +01:00
{ lib, rustPlatform, fetchFromGitHub, stdenv, CoreServices, Security }:
2021-10-22 18:57:59 +02:00
rustPlatform.buildRustPackage rec {
pname = "piping-server-rust";
2021-12-03 15:27:16 +01:00
version = "0.10.2";
2021-10-22 18:57:59 +02:00
src = fetchFromGitHub {
owner = "nwtgck";
repo = pname;
rev = "v${version}";
2021-12-03 15:27:16 +01:00
sha256 = "sha256-3EDUG9W4WzYk/bjUFIQ7Ho0KR6aMykhyTnWR/+VNxz8=";
2021-10-22 18:57:59 +02:00
};
2021-12-03 15:27:16 +01:00
cargoSha256 = "sha256-8xUhYyjc4560PowCRwYeZMUJLhZFTHcMRLe/iQAwaWE=";
2021-10-22 18:57:59 +02:00
2021-11-28 19:18:40 +01:00
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices Security ];
2021-10-30 18:52:23 +02:00
2021-10-22 18:57:59 +02:00
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";
};
}