Merge pull request #262046 from taranarmo/master

passExtensions.pass-file: init at 1.0.0
This commit is contained in:
Emily Trau 2023-12-01 22:25:53 +11:00 committed by GitHub
commit 604365c826
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

View File

@ -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 {};
}

View File

@ -0,0 +1,23 @@
{ 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;
};
}