3783316b6a
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - ran `/nix/store/l6j73nin5ip68kl9nn6zgllp88hlbdli-lastpass-cli-1.3.0/bin/lpass -V` and found version 1.3.0 - ran `/nix/store/l6j73nin5ip68kl9nn6zgllp88hlbdli-lastpass-cli-1.3.0/bin/lpass -v` and found version 1.3.0 - ran `/nix/store/l6j73nin5ip68kl9nn6zgllp88hlbdli-lastpass-cli-1.3.0/bin/lpass --version` and found version 1.3.0 - found 1.3.0 with grep in /nix/store/l6j73nin5ip68kl9nn6zgllp88hlbdli-lastpass-cli-1.3.0 - directory tree listing: https://gist.github.com/67aab5e731ed5d963e433d03c1a27870
38 lines
1000 B
Nix
38 lines
1000 B
Nix
{ stdenv, lib, fetchFromGitHub, asciidoc, cmake, docbook_xsl, pkgconfig
|
|
, bash-completion, openssl, curl, libxml2, libxslt }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "lastpass-cli-${version}";
|
|
|
|
version = "1.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lastpass";
|
|
repo = "lastpass-cli";
|
|
rev = "v${version}";
|
|
sha256 = "0k3vnlibv05wnn6qn3qjlcyj2s07di7zkmdnijd6cp1hfk76z2r5";
|
|
};
|
|
|
|
nativeBuildInputs = [ asciidoc cmake docbook_xsl pkgconfig ];
|
|
|
|
buildInputs = [
|
|
bash-completion curl openssl libxml2 libxslt
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
cmakeFlags = [
|
|
"-DBASH_COMPLETION_COMPLETIONSDIR=./share/bash-completion/completions"
|
|
];
|
|
|
|
installTargets = "install install-doc";
|
|
|
|
meta = with lib; {
|
|
description = "Stores, retrieves, generates, and synchronizes passwords securely";
|
|
homepage = "https://github.com/lastpass/lastpass-cli";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ cstrahan ];
|
|
};
|
|
}
|