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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
870 B
Nix
Raw Normal View History

2021-11-28 18:18:40 +00:00
{ lib, rustPlatform, fetchFromGitHub, stdenv, CoreServices, Security }:
2021-10-22 16:57:59 +00:00
rustPlatform.buildRustPackage rec {
pname = "piping-server-rust";
2024-03-03 00:57:17 +00:00
version = "0.18.0";
2021-10-22 16:57:59 +00:00
src = fetchFromGitHub {
owner = "nwtgck";
repo = pname;
rev = "v${version}";
2024-03-03 00:57:17 +00:00
sha256 = "sha256-8kYaANVWmBOncTdhtjjbaYnEFQeuWjemdz/kTjwj2fw=";
2021-10-22 16:57:59 +00:00
};
2024-03-03 00:57:17 +00:00
cargoHash = "sha256-YSiClSnjgqFqT2IGJoatcy7j3NUKcff826AvJ/+RNNU=";
2021-10-22 16:57:59 +00:00
2021-11-28 18:18:40 +00:00
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices Security ];
2021-10-30 16:52:23 +00:00
2021-10-22 16:57:59 +00: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";
};
}