nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 19.03 37 lines 1.0 kB view raw
1{ stdenv, lib, fetchFromGitHub, asciidoc, cmake, docbook_xsl, pkgconfig 2, bash-completion, openssl, curl, libxml2, libxslt }: 3 4stdenv.mkDerivation rec { 5 name = "lastpass-cli-${version}"; 6 7 version = "1.3.1"; 8 9 src = fetchFromGitHub { 10 owner = "lastpass"; 11 repo = "lastpass-cli"; 12 rev = "v${version}"; 13 sha256 = "11drzmfdvb8ydw1dxaz9zz8rk0jjqmfv076vydz05qqvgx59s38h"; 14 }; 15 16 nativeBuildInputs = [ asciidoc cmake docbook_xsl pkgconfig ]; 17 18 buildInputs = [ 19 bash-completion curl openssl libxml2 libxslt 20 ]; 21 22 enableParallelBuilding = true; 23 24 cmakeFlags = [ 25 "-DBASH_COMPLETION_COMPLETIONSDIR=./share/bash-completion/completions" 26 ]; 27 28 installTargets = "install install-doc"; 29 30 meta = with lib; { 31 description = "Stores, retrieves, generates, and synchronizes passwords securely"; 32 homepage = "https://github.com/lastpass/lastpass-cli"; 33 license = licenses.gpl2Plus; 34 platforms = platforms.unix; 35 maintainers = with maintainers; [ cstrahan ]; 36 }; 37}