nixpkgs-suyu/pkgs/tools/security/lastpass-cli/default.nix

38 lines
1,000 B
Nix
Raw Normal View History

2018-01-06 16:42:52 +01:00
{ stdenv, lib, fetchFromGitHub, asciidoc, cmake, docbook_xsl, pkgconfig
, bash-completion, openssl, curl, libxml2, libxslt }:
stdenv.mkDerivation rec {
name = "lastpass-cli-${version}";
2018-05-19 18:21:46 +02:00
version = "1.3.1";
src = fetchFromGitHub {
owner = "lastpass";
repo = "lastpass-cli";
rev = "v${version}";
2018-05-19 18:21:46 +02:00
sha256 = "11drzmfdvb8ydw1dxaz9zz8rk0jjqmfv076vydz05qqvgx59s38h";
};
2018-01-06 16:42:52 +01:00
nativeBuildInputs = [ asciidoc cmake docbook_xsl pkgconfig ];
buildInputs = [
2018-01-06 16:42:52 +01:00
bash-completion curl openssl libxml2 libxslt
];
2018-01-06 16:42:52 +01:00
enableParallelBuilding = true;
cmakeFlags = [
"-DBASH_COMPLETION_COMPLETIONSDIR=./share/bash-completion/completions"
];
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;
2018-01-06 16:42:52 +01:00
platforms = platforms.unix;
maintainers = with maintainers; [ cstrahan ];
};
}