blob: 30705726e86af536e7cd029d0e17793e5f6b23c6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ pkgs ? import <nixpkgs> {} }:
with pkgs; stdenv.mkDerivation rec {
name = "gopass-bin-${version}";
version = "1.6.1";
src = fetchzip {
url = "https://github.com/justwatchcom/gopass/releases/download/v${version}/gopass-${version}-linux-386.tar.gz";
sha256 = "06iif74akcfb8n1h3ggig56a8y854p4dc7dpxpdfy6w9ra514phq";
};
phases = "installPhase";
installPhase = ''
mkdir -p $out/bin $out/share/fish/completions
cp $src/fish.completion $out/share/fish/completions/gopass.fish
cp $src/gopass $out/bin/gopass
chmod +x $out/bin/gopass
'';
meta = with stdenv.lib; {
description = "password-store like password manager with team functionality";
license = licenses.mit;
homepage = "https://github.com/justwatchcom/gopass";
};
}
|