1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/servers/piping-server-rust/default.nix

27 lines
840 B
Nix
Raw Normal View History

2021-10-30 17:52:23 +01:00
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security }:
2021-10-22 17:57:59 +01:00
rustPlatform.buildRustPackage rec {
pname = "piping-server-rust";
version = "0.9.1";
src = fetchFromGitHub {
owner = "nwtgck";
repo = pname;
rev = "v${version}";
sha256 = "16jzl0nk14gzb5kvilr17f02b41ma7xwh8y0g42pm9sb7jdbcn7g";
};
cargoSha256 = "sha256-SDAxXYX51/4S7zRTdNZK9uSjKHKrAXpDJgRRDyu6qug=";
2021-10-30 17:52:23 +01:00
buildInputs = lib.optional stdenv.isDarwin Security;
2021-10-22 17:57:59 +01: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";
};
}