kpcli: KDBX 4 support (#348984)
This commit is contained in:
@@ -30,19 +30,6 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
IteratorSimple = perlPackages.buildPerlPackage {
|
||||
pname = "Iterator-Simple";
|
||||
version = "0.07";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/authors/id/M/MI/MICHAEL/Iterator-Simple-0.07.tar.gz";
|
||||
hash = "sha256-y1dNBju0gcj7nLV4GkZFiWqg4e5xW6lHz3ZvH/Tp60Q=";
|
||||
};
|
||||
meta = {
|
||||
description = "Simple iterator and utilities";
|
||||
license = with lib.licenses; [ artistic1 gpl2Only ];
|
||||
};
|
||||
};
|
||||
|
||||
IteratorSimpleLookahead = perlPackages.buildPerlPackage {
|
||||
pname = "Iterator-Simple-Lookahead";
|
||||
version = "0.09";
|
||||
@@ -50,9 +37,9 @@ let
|
||||
url = "mirror://cpan/authors/id/P/PS/PSCUST/Iterator-Simple-Lookahead-0.09.tar.gz";
|
||||
hash = "sha256-FmPE1xdU8LAXS21+H4DJaQ87qDi4Q4UkLawsUAqseZw=";
|
||||
};
|
||||
propagatedBuildInputs = [ IteratorSimple ] ++ (with perlPackages; [
|
||||
ClassAccessor
|
||||
]);
|
||||
propagatedBuildInputs = with perlPackages; [
|
||||
ClassAccessor IteratorSimple
|
||||
];
|
||||
meta = {
|
||||
description = "Simple iterator with lookahead and unget";
|
||||
license = with lib.licenses; [ artistic1 gpl2Only ];
|
||||
@@ -67,9 +54,9 @@ let
|
||||
hash = "sha256-pVTpIqGxZpBxZlAbXuGDapuOxsp3uM/AM5dKUxlej1M=";
|
||||
};
|
||||
propagatedBuildInputs = [
|
||||
IteratorSimple
|
||||
IteratorSimpleLookahead
|
||||
] ++ (with perlPackages; [
|
||||
IteratorSimple
|
||||
TextTemplate
|
||||
DataDump
|
||||
FileSlurp
|
||||
|
||||
@@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/kpcli/${pname}-${version}.pl";
|
||||
sha256 = "sha256-hvyCC8eUXNm1d1g+/kEnVllRJokChgJWzuoQB5Xd8j8=";
|
||||
hash = "sha256-hvyCC8eUXNm1d1g+/kEnVllRJokChgJWzuoQB5Xd8j8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
@@ -21,7 +21,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
makeWrapper $out/share/kpcli.pl $out/bin/kpcli --set PERL5LIB \
|
||||
"${with perlPackages; makePerlPath ([
|
||||
CaptureTiny Clipboard Clone CryptRijndael SortNaturally TermReadKey TermShellUI FileKeePass TermReadLineGnu XMLParser
|
||||
BHooksEndOfScope CaptureTiny Clipboard Clone CryptRijndael CryptX DevelGlobalDestruction ModuleImplementation
|
||||
ModuleRuntime SortNaturally SubExporterProgressive TermReadKey TermShellUI TryTiny FileKDBX FileKeePass
|
||||
PackageStash RefUtil TermReadLineGnu XMLParser boolean namespaceclean
|
||||
] ++ lib.optional stdenv.hostPlatform.isDarwin MacPasteboard)}"
|
||||
'';
|
||||
|
||||
|
||||
@@ -9938,6 +9938,21 @@ with self; {
|
||||
};
|
||||
};
|
||||
|
||||
FileKDBX = buildPerlPackage {
|
||||
pname = "File-KDBX";
|
||||
version = "0.906";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/authors/id/C/CC/CCM/File-KDBX-0.906.tar.gz";
|
||||
hash = "sha256-tHt/kzOrtJHqrsY0WhTn+TlW0UOUTBS4Fkp/0bIkvW8=";
|
||||
};
|
||||
propagatedBuildInputs = [ CryptArgon2 CryptX DevelGlobalDestruction FileKeePass IteratorSimple RefUtil XMLLibXML boolean namespaceclean ];
|
||||
buildInputs = [ ScopeGuard TestDeep TestFatal TestWarnings ];
|
||||
meta = {
|
||||
description = "Interface to KeePass V3 and V4 database files";
|
||||
license = with lib.licenses; [ artistic1 gpl1Plus ];
|
||||
};
|
||||
};
|
||||
|
||||
FileKeePass = buildPerlPackage {
|
||||
pname = "File-KeePass";
|
||||
version = "2.03";
|
||||
@@ -13317,6 +13332,19 @@ with self; {
|
||||
};
|
||||
};
|
||||
|
||||
IteratorSimple = buildPerlPackage {
|
||||
pname = "Iterator-Simple";
|
||||
version = "0.07";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/authors/id/M/MI/MICHAEL/Iterator-Simple-0.07.tar.gz";
|
||||
hash = "sha256-y1dNBju0gcj7nLV4GkZFiWqg4e5xW6lHz3ZvH/Tp60Q=";
|
||||
};
|
||||
meta = {
|
||||
description = "Simple iterator and utilities";
|
||||
license = with lib.licenses; [ artistic1 gpl2Only ];
|
||||
};
|
||||
};
|
||||
|
||||
IPCSignal = buildPerlPackage {
|
||||
pname = "IPC-Signal";
|
||||
version = "1.00";
|
||||
|
||||
Reference in New Issue
Block a user