2014-12-04 23:00:46 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, pkgconfig, openssl, curl, libxml2, libxslt, asciidoc, docbook_xsl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "lastpass-cli-${version}";
|
|
|
|
|
2016-09-28 03:35:41 +01:00
|
|
|
version = "1.0.0";
|
2014-12-04 23:00:46 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lastpass";
|
|
|
|
repo = "lastpass-cli";
|
|
|
|
rev = "v${version}";
|
2016-09-28 03:35:41 +01:00
|
|
|
sha256 = "0hidx2qfr52bwjb6as4fbfa34jqh3zwvrcx590vbsji3bq4g7avb";
|
2014-12-04 23:00:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
openssl curl libxml2 pkgconfig asciidoc docbook_xsl libxslt
|
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = "PREFIX=$(out)";
|
|
|
|
|
|
|
|
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;
|
2016-12-26 20:57:14 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2014-12-04 23:00:46 +00:00
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
|
|
|
};
|
|
|
|
}
|