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

31 lines
826 B
Nix
Raw Normal View History

{ stdenv, lib, fetchFromGitHub, pkgconfig, openssl, curl, libxml2, libxslt, asciidoc, docbook_xsl }:
stdenv.mkDerivation rec {
name = "lastpass-cli-${version}";
2015-04-15 17:56:27 +02:00
version = "0.5.1";
src = fetchFromGitHub {
owner = "lastpass";
repo = "lastpass-cli";
rev = "v${version}";
2015-04-15 17:56:27 +02:00
sha256 = "0k2dbfizd6gwd4s8badm50qg2djrh22szd932l1a96mn79q8zb70";
};
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;
platforms = platforms.linux;
maintainers = with maintainers; [ cstrahan ];
};
}