diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-05-01 15:24:56 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-05-02 22:35:27 -0300 |
commit | 7de3114723f7e33099b9cbe76e0f62e10ac21407 (patch) | |
tree | 1d7c272e5e4b62d7455de9eb6e8ac62f8773140b /pkgs/games | |
parent | edc2464544d9cb2549f564a82b78c7b9796c78f9 (diff) |
shavee: move to games/doom-ports
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/doom-ports/shavee/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/games/doom-ports/shavee/default.nix b/pkgs/games/doom-ports/shavee/default.nix new file mode 100644 index 0000000000000..12ba3fbf6c3b9 --- /dev/null +++ b/pkgs/games/doom-ports/shavee/default.nix @@ -0,0 +1,39 @@ +{ lib, pkgs, rustPlatform, fetchFromGitHub, pkg-config, openssl, zlib,stdenv, pam }: + +rustPlatform.buildRustPackage rec { + pname = "shavee"; + version = "0.5.1"; + + src = fetchFromGitHub { + owner = "ashuio"; + repo = "shavee"; + rev = "v${version}"; + sha256 = "sha256-41wJ3QBZdmCl7v/6JetXhzH2zF7tsKYMKZY1cKhByX8="; + }; + + cargoSha256 = "sha256-iNGn5KknSNgazFSu6Nur7AkKVb6qKMxuFwTdCz5djWU="; + + nativeBuildInputs = [ + pkg-config + ]; + + buildInputs = [ + openssl + zlib + pam + ]; + + # these tests require network access + checkFlags = [ + "--skip=filehash::tests::remote_file_hash" + "--skip=filehash::tests::get_filehash_unit_test" + ]; + + meta = with lib; { + description = "A Program to automatically decrypt and mount ZFS datasets using Yubikey HMAC as 2FA or any File on USB/SFTP/HTTPS."; + homepage = "https://github.com/ashuio/shavee"; + license = licenses.mit; + maintainers = with maintainers; [jasonodoom]; + platforms = platforms.linux; + }; +} |