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
1
-
{ stdenv, lib, fetchFromGitHub, asciidoc, cmake, docbook_xsl, pkg-config
2
2
-
, bash-completion, openssl, curl, libxml2, libxslt }:
1
1
+
{ stdenv
2
2
+
, lib
3
3
+
, fetchFromGitHub
4
4
+
, asciidoc
5
5
+
, cmake
6
6
+
, docbook_xsl
7
7
+
, pkg-config
8
8
+
, bash-completion
9
9
+
, openssl
10
10
+
, curl
11
11
+
, libxml2
12
12
+
, libxslt
13
13
+
}:
3
14
4
15
stdenv.mkDerivation rec {
5
16
pname = "lastpass-cli";
···
15
26
nativeBuildInputs = [ asciidoc cmake docbook_xsl pkg-config ];
16
27
17
28
buildInputs = [
18
18
-
bash-completion curl openssl libxml2 libxslt
29
29
+
bash-completion
30
30
+
curl
31
31
+
openssl
32
32
+
libxml2
33
33
+
libxslt
19
34
];
20
35
21
36
installTargets = [ "install" "install-doc" ];
···
23
38
postInstall = ''
24
39
install -Dm644 -T ../contrib/lpass_zsh_completion $out/share/zsh/site-functions/_lpass
25
40
install -Dm644 -T ../contrib/completions-lpass.fish $out/share/fish/vendor_completions.d/lpass.fish
41
41
+
install -Dm755 -T ../contrib/examples/git-credential-lastpass $out/bin/git-credential-lastpass
26
42
'';
27
43
28
44
meta = with lib; {
29
45
description = "Stores, retrieves, generates, and synchronizes passwords securely";
30
30
-
homepage = "https://github.com/lastpass/lastpass-cli";
31
31
-
license = licenses.gpl2Plus;
32
32
-
platforms = platforms.unix;
46
46
+
homepage = "https://github.com/lastpass/lastpass-cli";
47
47
+
license = licenses.gpl2Plus;
48
48
+
platforms = platforms.unix;
33
49
maintainers = with maintainers; [ cstrahan ];
34
50
};
35
51
}