piping-server-rust: fix darwin build

This commit is contained in:
figsoda 2021-10-30 12:52:23 -04:00
parent 90bd1ade20
commit 669fa0790c
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ lib, rustPlatform, fetchFromGitHub }:
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security }:
rustPlatform.buildRustPackage rec {
pname = "piping-server-rust";
@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-SDAxXYX51/4S7zRTdNZK9uSjKHKrAXpDJgRRDyu6qug=";
buildInputs = lib.optional stdenv.isDarwin 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";

View File

@ -8504,7 +8504,9 @@ with pkgs;
pinnwand = callPackage ../servers/pinnwand { };
piping-server-rust = callPackage ../servers/piping-server-rust { };
piping-server-rust = callPackage ../servers/piping-server-rust {
inherit (darwin.apple_sdk.frameworks) Security;
};
pirate-get = callPackage ../tools/networking/pirate-get { };