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

33 lines
877 B
Nix
Raw Normal View History

2017-02-02 06:02:16 +03:00
{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig
, openssl, curl, libxml2, libxslt, asciidoc, docbook_xsl }:
stdenv.mkDerivation rec {
name = "lastpass-cli-${version}";
2017-02-02 06:02:16 +03:00
version = "1.1.1";
src = fetchFromGitHub {
owner = "lastpass";
repo = "lastpass-cli";
rev = "v${version}";
2017-02-02 06:02:16 +03:00
sha256 = "1slqrv877c1bhivgd2i9cr1lsd72371dpz6a3h6s56l3qbyk28sa";
};
2017-02-02 06:02:16 +03:00
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [
2017-02-02 06:02:16 +03:00
openssl curl libxml2 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;
platforms = stdenv.lib.platforms.unix;
maintainers = with maintainers; [ cstrahan ];
};
}