159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
34 lines
753 B
Nix
34 lines
753 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
, darwin
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "dumbpipe";
|
|
version = "0.16.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "n0-computer";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-gv6V5I9LPNfXyuopo8BaYRELxzTfNhTG1EBWoZ/4cpc=";
|
|
};
|
|
|
|
cargoHash = "sha256-t6w2XrMSm5g6dmYQ5gX+w8M3pPzWDytGY9uSuXYgnDA=";
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin (
|
|
with darwin.apple_sdk.frameworks; [
|
|
SystemConfiguration
|
|
]
|
|
);
|
|
|
|
meta = with lib; {
|
|
description = "Connect A to B - Send Data";
|
|
homepage = "https://www.dumbpipe.dev/";
|
|
license = with licenses; [ asl20 mit ];
|
|
maintainers = with maintainers; [ cameronfyfe ];
|
|
mainProgram = "dumbpipe";
|
|
};
|
|
}
|