at 18.03-beta 37 lines 1.0 kB view raw
1{ stdenv, lib, fetchFromGitHub, asciidoc, cmake, docbook_xsl, pkgconfig 2, bash-completion, openssl, curl, libxml2, libxslt }: 3 4stdenv.mkDerivation rec { 5 name = "lastpass-cli-${version}"; 6 7 version = "1.2.2"; 8 9 src = fetchFromGitHub { 10 owner = "lastpass"; 11 repo = "lastpass-cli"; 12 rev = "v${version}"; 13 sha256 = "0041z2awpmwq2fk8lbgp4fcia0r6wss2csvq5bxps0cx7fq69wc1"; 14 }; 15 16 nativeBuildInputs = [ asciidoc cmake docbook_xsl pkgconfig ]; 17 18 buildInputs = [ 19 bash-completion curl openssl libxml2 libxslt 20 ]; 21 22 enableParallelBuilding = true; 23 24 cmakeFlags = [ 25 "-DBASH_COMPLETION_COMPLETIONSDIR=./share/bash-completion/completions" 26 ]; 27 28 installTargets = "install install-doc"; 29 30 meta = with lib; { 31 description = "Stores, retrieves, generates, and synchronizes passwords securely"; 32 homepage = "https://github.com/lastpass/lastpass-cli"; 33 license = licenses.gpl2Plus; 34 platforms = platforms.unix; 35 maintainers = with maintainers; [ cstrahan ]; 36 }; 37}