mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
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 }:
|
||||
|
||||
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";
|
||||
|
Loading…
Reference in New Issue
Block a user