nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

pass-checkup: init at 0.2.0

authored by

Elis Hirwing and committed by
Jon
e8a36cdf 8a74c091

+35
+34
pkgs/tools/security/pass/extensions/checkup.nix
··· 1 + { stdenv, fetchFromGitHub 2 + , curl, findutils, gnugrep, gnused }: 3 + 4 + stdenv.mkDerivation rec { 5 + pname = "pass-checkup"; 6 + version = "0.2.0"; 7 + 8 + src = fetchFromGitHub { 9 + owner = "etu"; 10 + repo = "pass-checkup"; 11 + rev = version; 12 + sha256 = "17fyf8zj535fg43yddjww1jhxfb3nbdkn622wjxaai2nf46jzh7y"; 13 + }; 14 + 15 + patchPhase = '' 16 + substituteInPlace checkup.bash \ 17 + --replace curl ${curl}/bin/curl \ 18 + --replace find ${findutils}/bin/find \ 19 + --replace grep ${gnugrep}/bin/grep \ 20 + --replace sed ${gnused}/bin/sed 21 + ''; 22 + 23 + installPhase = '' 24 + install -D -m755 checkup.bash $out/lib/password-store/extensions/checkup.bash 25 + ''; 26 + 27 + meta = with stdenv.lib; { 28 + description = "A pass extension to check against the Have I been pwned API to see if your passwords are publicly leaked or not."; 29 + homepage = "https://github.com/etu/pass-checkup"; 30 + license = licenses.gpl3; 31 + maintainers = with maintainers; [ etu ]; 32 + platforms = platforms.unix; 33 + }; 34 + }
+1
pkgs/tools/security/pass/extensions/default.nix
··· 6 6 pass-audit = callPackage ./audit.nix { 7 7 pythonPackages = python3Packages; 8 8 }; 9 + pass-checkup = callPackage ./checkup.nix {}; 9 10 pass-import = callPackage ./import.nix { 10 11 pythonPackages = python3Packages; 11 12 };