1{ stdenv, lib, fetchFromGitHub, pkgconfig, openssl, curl, libxml2, libxslt, asciidoc, docbook_xsl }:
2
3stdenv.mkDerivation rec {
4 name = "lastpass-cli-${version}";
5
6 version = "0.9.0";
7
8 src = fetchFromGitHub {
9 owner = "lastpass";
10 repo = "lastpass-cli";
11 rev = "v${version}";
12 sha256 = "1iaz36bcyss2kahhlm92l7yh26rxvs12wnkkh1289yarl5wi0yld";
13 };
14
15 buildInputs = [
16 openssl curl libxml2 pkgconfig asciidoc docbook_xsl libxslt
17 ];
18
19 makeFlags = "PREFIX=$(out)";
20
21 installTargets = "install install-doc";
22
23 meta = with lib; {
24 description = "Stores, retrieves, generates, and synchronizes passwords securely";
25 homepage = "https://github.com/lastpass/lastpass-cli";
26 license = licenses.gpl2Plus;
27 platforms = platforms.linux;
28 maintainers = with maintainers; [ cstrahan ];
29 };
30}