xfce.xfce4-notes-plugin: Generate C code with newer Vala (#359006)
[NixPkgs.git] / pkgs / servers / piping-server-rust / default.nix
blob0e081884e4cf8f97b0d11fc17bffb22f2fc04139
1 { lib, rustPlatform, fetchFromGitHub, stdenv, CoreServices, Security }:
3 rustPlatform.buildRustPackage rec {
4   pname = "piping-server-rust";
5   version = "0.18.0";
7   src = fetchFromGitHub {
8     owner = "nwtgck";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-8kYaANVWmBOncTdhtjjbaYnEFQeuWjemdz/kTjwj2fw=";
12   };
14   cargoHash = "sha256-YSiClSnjgqFqT2IGJoatcy7j3NUKcff826AvJ/+RNNU=";
16   buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices Security ];
18   meta = with lib; {
19     description = "Infinitely transfer between every device over pure HTTP with pipes or browsers";
20     homepage = "https://github.com/nwtgck/piping-server-rust";
21     changelog = "https://github.com/nwtgck/piping-server-rust/blob/v${version}/CHANGELOG.md";
22     license = licenses.mit;
23     maintainers = with maintainers; [ figsoda ];
24     mainProgram = "piping-server";
25   };