Unverified Commit 604365c8 authored by Emily Trau's avatar Emily Trau Committed by GitHub
Browse files

Merge pull request #262046 from taranarmo/master

passExtensions.pass-file: init at 1.0.0
parents 5ecdf2b6 86498a74
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -12,4 +12,5 @@ with pkgs;
  pass-tomb = callPackage ./tomb.nix {};
  pass-update = callPackage ./update.nix {};
  pass-genphrase = callPackage ./genphrase.nix {};
  pass-file = callPackage ./file.nix {};
}
+23 −0
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  pname = "pass-file";
  version = "1.0.0";

  src = fetchFromGitHub {
    owner = "dvogt23";
    repo = pname;
    rev = version;
    hash = "sha256-18KvmcfLwelyk9RV/IMaj6O/nkQEQz84eUEB/mRaKE4=";
  };

  installFlags = [ "PREFIX=$(out)" ];

  meta = with lib; {
    description = "A pass extension that allows to add files to password-store.";
    homepage = "https://github.com/dvogt23/pass-file";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ taranarmo ];
    platforms = platforms.unix;
  };
}