mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
Merge pull request #262046 from taranarmo/master
passExtensions.pass-file: init at 1.0.0
This commit is contained in:
commit
604365c826
@ -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
pkgs/tools/security/pass/extensions/file.nix
Normal file
23
pkgs/tools/security/pass/extensions/file.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user