about summary refs log tree commit diff
path: root/pkgs/tools/security/lastpass-cli
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2018-01-06 23:42:52 +0800
committerPeter Hoeg <peter@hoeg.com>2018-01-06 23:46:38 +0800
commitb2d2b3777126d9695f5f8d79132b210c47a113a9 (patch)
tree5a41d3852af7df2872241fa51b7b0366778c70a4 /pkgs/tools/security/lastpass-cli
parent71dd57f081ee5cb28dd2f3b0f5ff8b75d8113d37 (diff)
downloadnixlib-b2d2b3777126d9695f5f8d79132b210c47a113a9.tar
nixlib-b2d2b3777126d9695f5f8d79132b210c47a113a9.tar.gz
nixlib-b2d2b3777126d9695f5f8d79132b210c47a113a9.tar.bz2
nixlib-b2d2b3777126d9695f5f8d79132b210c47a113a9.tar.lz
nixlib-b2d2b3777126d9695f5f8d79132b210c47a113a9.tar.xz
nixlib-b2d2b3777126d9695f5f8d79132b210c47a113a9.tar.zst
nixlib-b2d2b3777126d9695f5f8d79132b210c47a113a9.zip
lastpass-cli: 1.2.1 -> 1.2.2
Diffstat (limited to 'pkgs/tools/security/lastpass-cli')
-rw-r--r--pkgs/tools/security/lastpass-cli/default.nix21
1 files changed, 13 insertions, 8 deletions
diff --git a/pkgs/tools/security/lastpass-cli/default.nix b/pkgs/tools/security/lastpass-cli/default.nix
index ce59ddca7c07..9395d4acb8b9 100644
--- a/pkgs/tools/security/lastpass-cli/default.nix
+++ b/pkgs/tools/security/lastpass-cli/default.nix
@@ -1,24 +1,29 @@
-{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig
-, openssl, curl, libxml2, libxslt, asciidoc, docbook_xsl }:
+{ stdenv, lib, fetchFromGitHub, asciidoc, cmake, docbook_xsl, pkgconfig
+, bash-completion, openssl, curl, libxml2, libxslt }:
 
 stdenv.mkDerivation rec {
   name = "lastpass-cli-${version}";
 
-  version = "1.2.1";
+  version = "1.2.2";
 
   src = fetchFromGitHub {
     owner = "lastpass";
     repo = "lastpass-cli";
     rev = "v${version}";
-    sha256 = "0nrsrd5cqyv2zydzzl1vryrnj1p0x17cx1rmrp4kmzh83bzgcfvv";
+    sha256 = "0041z2awpmwq2fk8lbgp4fcia0r6wss2csvq5bxps0cx7fq69wc1";
   };
 
-  nativeBuildInputs = [ cmake pkgconfig ];
+  nativeBuildInputs = [ asciidoc cmake docbook_xsl pkgconfig ];
+
   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";
 
@@ -26,7 +31,7 @@ stdenv.mkDerivation rec {
     description = "Stores, retrieves, generates, and synchronizes passwords securely";
     homepage    = "https://github.com/lastpass/lastpass-cli";
     license     = licenses.gpl2Plus;
-    platforms   = stdenv.lib.platforms.unix;
+    platforms   = platforms.unix;
     maintainers = with maintainers; [ cstrahan ];
   };
 }