Unverified Commit eafd00c1 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #226359 from jasonodoom/develop

parents 9736cefa 71e913c3
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -6907,6 +6907,12 @@
    githubId = 6874204;
    name = "Jason Carr";
  };
  jasonodoom = {
    email = "jasonodoom@riseup.net";
    github = "jasonodoom";
    githubId = 6789916;
    name = "Jason Odoom";
  };
  javaguirre = {
    email = "contacto@javaguirre.net";
    github = "javaguirre";
+39 −0
Original line number Diff line number Diff line
{ 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;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -33532,6 +33532,8 @@ with pkgs;
  shadowfox = callPackage ../tools/networking/shadowfox { };
  shavee = callPackage ../applications/misc/shavee { };
  shell_gpt = callPackage ../tools/misc/shell_gpt { };
  shfmt = callPackage ../tools/text/shfmt { };