Skip to content

Commit

Permalink
wireguard-rs: add package
Browse files Browse the repository at this point in the history
closes #71

Co-authored-by: Shahar "Dawn" Or <mightyiampresence@gmail.com>
  • Loading branch information
augustebaum and mightyiam committed Oct 24, 2023
1 parent ceea657 commit 06eb0fe
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pkgs/by-name/wireguard-rs/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
lib,
rustPlatform,
fetchgit,
}:
rustPlatform.buildRustPackage {
pname = "wireguard-rs";
version = "unstable-2021-01-13";

src = fetchgit {
url = "https://git.zx2c4.com/wireguard-rs";
rev = "7d84ef9064559a29b23ab86036f7ef62b450f90c";
hash = "sha256-UlT0c0J4oY+E1UM2ElueHECjrxErIBERwiF1huLvtds=";
};

cargoSha256 = "sha256-zYcIGTExDcDnRvwTcBRaJGxkiFpft/RelEd4quP9RrA=";

meta = {
homepage = "https://git.zx2c4.com/wireguard-rs";
description = "Rust implementation of WireGuard";
license = lib.licenses.mit;
mainProgram = "wireguard-rs";
};
}

0 comments on commit 06eb0fe

Please sign in to comment.