tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
lastpass-cli: Add gitcredentials helper and format
Yurii Matsiuk
4 years ago
75a47625
432fc2d9
+22
-6
1 changed file
expand all
collapse all
unified
split
pkgs
tools
security
lastpass-cli
default.nix
+22
-6
pkgs/tools/security/lastpass-cli/default.nix
···
1
-
{ stdenv, lib, fetchFromGitHub, asciidoc, cmake, docbook_xsl, pkg-config
2
-
, bash-completion, openssl, curl, libxml2, libxslt }:
0
0
0
0
0
0
0
0
0
0
0
3
4
stdenv.mkDerivation rec {
5
pname = "lastpass-cli";
···
15
nativeBuildInputs = [ asciidoc cmake docbook_xsl pkg-config ];
16
17
buildInputs = [
18
-
bash-completion curl openssl libxml2 libxslt
0
0
0
0
19
];
20
21
installTargets = [ "install" "install-doc" ];
···
23
postInstall = ''
24
install -Dm644 -T ../contrib/lpass_zsh_completion $out/share/zsh/site-functions/_lpass
25
install -Dm644 -T ../contrib/completions-lpass.fish $out/share/fish/vendor_completions.d/lpass.fish
0
26
'';
27
28
meta = with lib; {
29
description = "Stores, retrieves, generates, and synchronizes passwords securely";
30
-
homepage = "https://github.com/lastpass/lastpass-cli";
31
-
license = licenses.gpl2Plus;
32
-
platforms = platforms.unix;
33
maintainers = with maintainers; [ cstrahan ];
34
};
35
}
···
1
+
{ stdenv
2
+
, lib
3
+
, fetchFromGitHub
4
+
, asciidoc
5
+
, cmake
6
+
, docbook_xsl
7
+
, pkg-config
8
+
, bash-completion
9
+
, openssl
10
+
, curl
11
+
, libxml2
12
+
, libxslt
13
+
}:
14
15
stdenv.mkDerivation rec {
16
pname = "lastpass-cli";
···
26
nativeBuildInputs = [ asciidoc cmake docbook_xsl pkg-config ];
27
28
buildInputs = [
29
+
bash-completion
30
+
curl
31
+
openssl
32
+
libxml2
33
+
libxslt
34
];
35
36
installTargets = [ "install" "install-doc" ];
···
38
postInstall = ''
39
install -Dm644 -T ../contrib/lpass_zsh_completion $out/share/zsh/site-functions/_lpass
40
install -Dm644 -T ../contrib/completions-lpass.fish $out/share/fish/vendor_completions.d/lpass.fish
41
+
install -Dm755 -T ../contrib/examples/git-credential-lastpass $out/bin/git-credential-lastpass
42
'';
43
44
meta = with lib; {
45
description = "Stores, retrieves, generates, and synchronizes passwords securely";
46
+
homepage = "https://github.com/lastpass/lastpass-cli";
47
+
license = licenses.gpl2Plus;
48
+
platforms = platforms.unix;
49
maintainers = with maintainers; [ cstrahan ];
50
};
51
}