add default.nix for building
This commit is contained in:
parent
05e5344b92
commit
0290eba452
24
default.nix
Normal file
24
default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
#{ lib, fetchFromGit, rustPlatform }:
|
||||
with import <nixpkgs> {};
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "wireguard-vanity";
|
||||
version = "0.0.1";
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
protobuf
|
||||
];
|
||||
|
||||
#src = builtins.fetchGit {
|
||||
# url = "https://git.jeffthecoder.xyz/public/wireguard-vanity.git";
|
||||
#};
|
||||
src = ./.;
|
||||
|
||||
cargoSha256 = "QTjYGphcCUU20cIGK27Se/yCih8snRw1tdOTOOi7tDQ=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A fast line-oriented regex search tool, similar to ag and ack";
|
||||
homepage = "https://git.jeffthecoder.xyz/public/wireguard-vanity";
|
||||
license = licenses.unlicense;
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user