lastpass-cli: 1.2.1 -> 1.2.2

This commit is contained in:
Peter Hoeg 2018-01-06 23:42:52 +08:00
parent 71dd57f081
commit b2d2b37771
1 changed files with 13 additions and 8 deletions

View File

@ -1,24 +1,29 @@
{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig { stdenv, lib, fetchFromGitHub, asciidoc, cmake, docbook_xsl, pkgconfig
, openssl, curl, libxml2, libxslt, asciidoc, docbook_xsl }: , bash-completion, openssl, curl, libxml2, libxslt }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "lastpass-cli-${version}"; name = "lastpass-cli-${version}";
version = "1.2.1"; version = "1.2.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lastpass"; owner = "lastpass";
repo = "lastpass-cli"; repo = "lastpass-cli";
rev = "v${version}"; rev = "v${version}";
sha256 = "0nrsrd5cqyv2zydzzl1vryrnj1p0x17cx1rmrp4kmzh83bzgcfvv"; sha256 = "0041z2awpmwq2fk8lbgp4fcia0r6wss2csvq5bxps0cx7fq69wc1";
}; };
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ asciidoc cmake docbook_xsl pkgconfig ];
buildInputs = [ buildInputs = [
openssl curl libxml2 asciidoc docbook_xsl libxslt bash-completion curl openssl libxml2 libxslt
]; ];
makeFlags = "PREFIX=$(out)"; enableParallelBuilding = true;
cmakeFlags = [
"-DBASH_COMPLETION_COMPLETIONSDIR=./share/bash-completion/completions"
];
installTargets = "install install-doc"; installTargets = "install install-doc";
@ -26,7 +31,7 @@ stdenv.mkDerivation rec {
description = "Stores, retrieves, generates, and synchronizes passwords securely"; description = "Stores, retrieves, generates, and synchronizes passwords securely";
homepage = "https://github.com/lastpass/lastpass-cli"; homepage = "https://github.com/lastpass/lastpass-cli";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
platforms = stdenv.lib.platforms.unix; platforms = platforms.unix;
maintainers = with maintainers; [ cstrahan ]; maintainers = with maintainers; [ cstrahan ];
}; };
} }