Merge pull request #233137 from figsoda/checkpwn

checkpwn: init at 0.5.6

authored by

Fabian Affolter and committed by
GitHub
c38b2c80 3cbc46bf

+37
+35
pkgs/tools/misc/checkpwn/default.nix
··· 1 + { lib 2 + , rustPlatform 3 + , fetchCrate 4 + , stdenv 5 + , darwin 6 + }: 7 + 8 + rustPlatform.buildRustPackage rec { 9 + pname = "checkpwn"; 10 + version = "0.5.6"; 11 + 12 + src = fetchCrate { 13 + inherit pname version; 14 + hash = "sha256-M0Jb+8rKn4KVuumNSsM6JEbSOoBOFy9mmXiCnUnDgak="; 15 + }; 16 + 17 + cargoHash = "sha256-G+QWnGf+Zp94EHVnYM3Q/iEhEQMU2O/c4i5ya/dY7K4="; 18 + 19 + buildInputs = lib.optionals stdenv.isDarwin [ 20 + darwin.apple_sdk.frameworks.Security 21 + ]; 22 + 23 + # requires internet access 24 + checkFlags = [ 25 + "--skip=test_cli_" 26 + ]; 27 + 28 + meta = with lib; { 29 + description = "Check Have I Been Pwned and see if it's time for you to change passwords"; 30 + homepage = "https://github.com/brycx/checkpwn"; 31 + changelog = "https://github.com/brycx/checkpwn/releases/tag/${version}"; 32 + license = licenses.mit; 33 + maintainers = with maintainers; [ figsoda ]; 34 + }; 35 + }
+2
pkgs/top-level/all-packages.nix
··· 423 423 python3 = python311; 424 424 }; 425 425 426 + checkpwn = callPackage ../tools/misc/checkpwn { }; 427 + 426 428 chrysalis = callPackage ../applications/misc/chrysalis { }; 427 429 428 430 ciel = callPackage ../tools/package-management/ciel { };