summary refs log tree commit diff
path: root/pkgs/tools/security/sops
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2017-03-10 15:41:57 +0000
committerRobert Scott <code@humanleg.org.uk>2017-03-10 15:41:57 +0000
commitb3fadc908511e1ab9a12adc2f8b3926e8ac39f82 (patch)
tree7bf206cc12f07516a14a93588fe2fa4d0787f5c9 /pkgs/tools/security/sops
parent943c4ed72ff85bb9a2610d8909ee68bb0f0d0744 (diff)
downloadnixpkgs-b3fadc908511e1ab9a12adc2f8b3926e8ac39f82.tar
nixpkgs-b3fadc908511e1ab9a12adc2f8b3926e8ac39f82.tar.gz
nixpkgs-b3fadc908511e1ab9a12adc2f8b3926e8ac39f82.tar.bz2
nixpkgs-b3fadc908511e1ab9a12adc2f8b3926e8ac39f82.tar.lz
nixpkgs-b3fadc908511e1ab9a12adc2f8b3926e8ac39f82.tar.xz
nixpkgs-b3fadc908511e1ab9a12adc2f8b3926e8ac39f82.tar.zst
nixpkgs-b3fadc908511e1ab9a12adc2f8b3926e8ac39f82.zip
sops: init at version 2.0.8
Diffstat (limited to 'pkgs/tools/security/sops')
-rw-r--r--pkgs/tools/security/sops/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/tools/security/sops/default.nix b/pkgs/tools/security/sops/default.nix
new file mode 100644
index 00000000000..79753305c59
--- /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;
+  };
+}