checkpwn: init at 0.5.6

https://github.com/brycx/checkpwn
This commit is contained in:
figsoda 2023-05-20 22:36:18 -04:00
parent dd816a74ce
commit 117bcd834d
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ lib
, rustPlatform
, fetchCrate
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "checkpwn";
version = "0.5.6";
src = fetchCrate {
inherit pname version;
hash = "sha256-M0Jb+8rKn4KVuumNSsM6JEbSOoBOFy9mmXiCnUnDgak=";
};
cargoHash = "sha256-G+QWnGf+Zp94EHVnYM3Q/iEhEQMU2O/c4i5ya/dY7K4=";
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
# requires internet access
checkFlags = [
"--skip=test_cli_"
];
meta = with lib; {
description = "Check Have I Been Pwned and see if it's time for you to change passwords";
homepage = "https://github.com/brycx/checkpwn";
changelog = "https://github.com/brycx/checkpwn/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}

View file

@ -423,6 +423,8 @@ with pkgs;
python3 = python311;
};
checkpwn = callPackage ../tools/misc/checkpwn { };
chrysalis = callPackage ../applications/misc/chrysalis { };
ciel = callPackage ../tools/package-management/ciel { };