Merge pull request #58137 from dtzWill/update/lastpass-cli-1.3.2
lastpass-cli: 1.3.1 -> 1.3.2, touchups
This commit is contained in:
commit
d1b7aef587
@ -2,15 +2,14 @@
|
|||||||
, bash-completion, openssl, curl, libxml2, libxslt }:
|
, bash-completion, openssl, curl, libxml2, libxslt }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "lastpass-cli-${version}";
|
pname = "lastpass-cli";
|
||||||
|
version = "1.3.2";
|
||||||
version = "1.3.1";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "lastpass";
|
owner = "lastpass";
|
||||||
repo = "lastpass-cli";
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "11drzmfdvb8ydw1dxaz9zz8rk0jjqmfv076vydz05qqvgx59s38h";
|
sha256 = "12qjqvqzi3pq7hrdpq59bcxqy6yj1mhx145g9rky1jm2ipzpfayq";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ asciidoc cmake docbook_xsl pkgconfig ];
|
nativeBuildInputs = [ asciidoc cmake docbook_xsl pkgconfig ];
|
||||||
@ -21,11 +20,12 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
cmakeFlags = [
|
installTargets = [ "install" "install-doc" ];
|
||||||
"-DBASH_COMPLETION_COMPLETIONSDIR=./share/bash-completion/completions"
|
|
||||||
];
|
|
||||||
|
|
||||||
installTargets = "install install-doc";
|
postInstall = ''
|
||||||
|
install -Dm644 -T ../contrib/lpass_zsh_completion $out/share/zsh/site-functions/_lpass
|
||||||
|
install -Dm644 -T ../contrib/completions-lpass.fish $out/share/fish/vendor_completions.d/lpass.fish
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Stores, retrieves, generates, and synchronizes passwords securely";
|
description = "Stores, retrieves, generates, and synchronizes passwords securely";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user