mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
dumbpipe: init at 0.6.0
This commit is contained in:
parent
12f16972ac
commit
c0ee181ad5
34
pkgs/by-name/du/dumbpipe/package.nix
Normal file
34
pkgs/by-name/du/dumbpipe/package.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, darwin
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "dumbpipe";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "n0-computer";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-lPAqDZCyA+j0kiPrQDp+zjOg6l9PN02aUSy/5q2EVbI=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-vAXBBtJ/tGKTaN+IumRBr8pALbjhzgPGxHUfq6CNvpo=";
|
||||
|
||||
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";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue