diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2017-12-21 22:45:40 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2017-12-21 22:45:40 +0100 |
commit | a7d4fb8e1d53ac41bad98903781117db3241f345 (patch) | |
tree | 424da03a2478d80d1fa626c03abc365657d306f2 /pkgs/tools/security | |
parent | 31e5662785cd319959b77b3622ea33aa28c63ba7 (diff) | |
parent | fc99ee5cebec0305d6f2407dc61a090eef60967a (diff) | |
download | nixlib-a7d4fb8e1d53ac41bad98903781117db3241f345.tar nixlib-a7d4fb8e1d53ac41bad98903781117db3241f345.tar.gz nixlib-a7d4fb8e1d53ac41bad98903781117db3241f345.tar.bz2 nixlib-a7d4fb8e1d53ac41bad98903781117db3241f345.tar.lz nixlib-a7d4fb8e1d53ac41bad98903781117db3241f345.tar.xz nixlib-a7d4fb8e1d53ac41bad98903781117db3241f345.tar.zst nixlib-a7d4fb8e1d53ac41bad98903781117db3241f345.zip |
Merge branch 'master' into staging
Hydra: ?compare=1420346
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r-- | pkgs/tools/security/gencfsm/default.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/security/gopass/default.nix | 45 |
2 files changed, 47 insertions, 2 deletions
diff --git a/pkgs/tools/security/gencfsm/default.nix b/pkgs/tools/security/gencfsm/default.nix index aade96ed3899..51fff4c59ec1 100644 --- a/pkgs/tools/security/gencfsm/default.nix +++ b/pkgs/tools/security/gencfsm/default.nix @@ -3,12 +3,12 @@ }: stdenv.mkDerivation rec { - version = "1.8.18"; + version = "1.8.19"; name = "gnome-encfs-manager-${version}"; src = fetchurl { url = "https://launchpad.net/gencfsm/trunk/1.8/+download/gnome-encfs-manager_${version}.tar.xz"; - sha256 = "1rpf683lxa78fmxxb0hnq7vdh3yn7qid2gqq67q9mk65sp9vdhdj"; + sha256 = "1h6x8dyp1fvxvr8fwki98ppf4sa20qf7g59jc9797b2vrgm60h1i"; }; nativeBuildInputs = [ pkgconfig ]; diff --git a/pkgs/tools/security/gopass/default.nix b/pkgs/tools/security/gopass/default.nix new file mode 100644 index 000000000000..d03c08211c2b --- /dev/null +++ b/pkgs/tools/security/gopass/default.nix @@ -0,0 +1,45 @@ +{ stdenv, buildGoPackage, fetchFromGitHub, git, gnupg, makeWrapper }: + +buildGoPackage rec { + version = "1.6.6"; + name = "gopass-${version}"; + + goPackagePath = "github.com/justwatchcom/gopass"; + + nativeBuildInputs = [ makeWrapper ]; + + src = fetchFromGitHub { + owner = "justwatchcom"; + repo = "gopass"; + rev = "v${version}"; + sha256 = "0n3isjrjpn2cnlwfdkjdcz5j8n16dhyaw4zyjpmis51nl0bqd3jw"; + }; + + wrapperPath = with stdenv.lib; makeBinPath ([ + git + gnupg + ]); + + postFixup = '' + wrapProgram $bin/bin/gopass \ + --prefix PATH : "${wrapperPath}" + ''; + + meta = with stdenv.lib; { + description = "The slightly more awesome Standard Unix Password Manager for Teams. Written in Go."; + homepage = https://github.com/justwatchcom/gopass; + license = licenses.mit; + maintainers = with maintainers; [ andir ]; + platforms = platforms.unix; + + longDescription = '' + gopass is a rewrite of the pass password manager in Go with the aim of + making it cross-platform and adding additional features. Our target + audience are professional developers and sysadmins (and especially teams + of those) who are well versed with a command line interface. One explicit + goal for this project is to make it more approachable to non-technical + users. We go by the UNIX philosophy and try to do one thing and do it + well, providing a stellar user experience and a sane, simple interface. + ''; + }; +} |