My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/servers/piping-server-rust/default.nix

26 lines
872 B

{ lib, rustPlatform, fetchFromGitHub, stdenv, CoreServices, Security }:
rustPlatform.buildRustPackage rec {
pname = "piping-server-rust";
version = "0.12.1";
src = fetchFromGitHub {
owner = "nwtgck";
repo = pname;
rev = "v${version}";
sha256 = "sha256-L15ofIM5a/qoJHGXmkuTsmQLLmERG/PxAJ4+z1nn7w4=";
};
cargoSha256 = "sha256-CcIM7T7P4LbPxPK1ZqoJRP0IsLMEwMZg9DcuRu0aJHM=";
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";
};
}