Skip to content

Commit

Permalink
Merge pull request #73 from ngi-nix/add-wireguard-rs
Browse files Browse the repository at this point in the history
wireguard-rs: add package
  • Loading branch information
lorenzleutgeb authored Oct 24, 2023
2 parents ceea657 + 06eb0fe commit 8066caa
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 8066caa

Please sign in to comment.