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:
Will Dietz 2019-03-24 21:39:56 -05:00 committed by GitHub
commit d1b7aef587
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,15 +2,14 @@
, bash-completion, openssl, curl, libxml2, libxslt }:
stdenv.mkDerivation rec {
name = "lastpass-cli-${version}";
version = "1.3.1";
pname = "lastpass-cli";
version = "1.3.2";
src = fetchFromGitHub {
owner = "lastpass";
repo = "lastpass-cli";
repo = pname;
rev = "v${version}";
sha256 = "11drzmfdvb8ydw1dxaz9zz8rk0jjqmfv076vydz05qqvgx59s38h";
sha256 = "12qjqvqzi3pq7hrdpq59bcxqy6yj1mhx145g9rky1jm2ipzpfayq";
};
nativeBuildInputs = [ asciidoc cmake docbook_xsl pkgconfig ];
@ -21,11 +20,12 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
cmakeFlags = [
"-DBASH_COMPLETION_COMPLETIONSDIR=./share/bash-completion/completions"
];
installTargets = [ "install" "install-doc" ];
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; {
description = "Stores, retrieves, generates, and synchronizes passwords securely";