Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8a74c091b256
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e8a36cdf5719
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Oct 25, 2019

  1. pass-checkup: init at 0.2.0

    etu authored and Jon committed Oct 25, 2019
    Copy the full SHA
    e8a36cd View commit details
Showing with 35 additions and 0 deletions.
  1. +34 −0 pkgs/tools/security/pass/extensions/checkup.nix
  2. +1 −0 pkgs/tools/security/pass/extensions/default.nix
34 changes: 34 additions & 0 deletions pkgs/tools/security/pass/extensions/checkup.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{ stdenv, fetchFromGitHub
, curl, findutils, gnugrep, gnused }:

stdenv.mkDerivation rec {
pname = "pass-checkup";
version = "0.2.0";

src = fetchFromGitHub {
owner = "etu";
repo = "pass-checkup";
rev = version;
sha256 = "17fyf8zj535fg43yddjww1jhxfb3nbdkn622wjxaai2nf46jzh7y";
};

patchPhase = ''
substituteInPlace checkup.bash \
--replace curl ${curl}/bin/curl \
--replace find ${findutils}/bin/find \
--replace grep ${gnugrep}/bin/grep \
--replace sed ${gnused}/bin/sed
'';

installPhase = ''
install -D -m755 checkup.bash $out/lib/password-store/extensions/checkup.bash
'';

meta = with stdenv.lib; {
description = "A pass extension to check against the Have I been pwned API to see if your passwords are publicly leaked or not.";
homepage = "https://github.com/etu/pass-checkup";
license = licenses.gpl3;
maintainers = with maintainers; [ etu ];
platforms = platforms.unix;
};
}
1 change: 1 addition & 0 deletions pkgs/tools/security/pass/extensions/default.nix
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@ with pkgs;
pass-audit = callPackage ./audit.nix {
pythonPackages = python3Packages;
};
pass-checkup = callPackage ./checkup.nix {};
pass-import = callPackage ./import.nix {
pythonPackages = python3Packages;
};