From b3fadc908511e1ab9a12adc2f8b3926e8ac39f82 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Fri, 10 Mar 2017 15:41:57 +0000 Subject: [PATCH] sops: init at version 2.0.8 --- pkgs/tools/security/sops/default.nix | 21 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/tools/security/sops/default.nix diff --git a/pkgs/tools/security/sops/default.nix b/pkgs/tools/security/sops/default.nix new file mode 100644 index 000000000000..79753305c592 --- /dev/null +++ b/pkgs/tools/security/sops/default.nix @@ -0,0 +1,21 @@ +{ stdenv, lib, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + name = "sops-${version}"; + version = "2.0.8"; + + goPackagePath = "go.mozilla.org/sops"; + + src = fetchFromGitHub { + rev = version; + owner = "mozilla"; + repo = "sops"; + sha256 = "0kawnp24i3r981hz6apfwhgp71002vjq7ir54arq0zkssmykms1c"; + }; + + meta = with stdenv.lib; { + description = "Mozilla sops (Secrets OPerationS) is an editor of encrypted files"; + homepage = https://github.com/mozilla/sops; + license = licenses.mpl20; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4e4362e0c804..df1622fc2912 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15228,6 +15228,8 @@ with pkgs; sooperlooper = callPackage ../applications/audio/sooperlooper { }; + sops = callPackage ../tools/security/sops { }; + sorcer = callPackage ../applications/audio/sorcer { }; sound-juicer = callPackage ../applications/audio/sound-juicer { };