From 82f835d2ee5203e6dce55b614d8709fee60e4cdb Mon Sep 17 00:00:00 2001 From: = Date: Tue, 29 Aug 2017 21:09:37 +0200 Subject: [PATCH] enchive: init at 3.3 --- pkgs/tools/security/enchive/default.nix | 27 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/tools/security/enchive/default.nix diff --git a/pkgs/tools/security/enchive/default.nix b/pkgs/tools/security/enchive/default.nix new file mode 100644 index 000000000000..d045450f9480 --- /dev/null +++ b/pkgs/tools/security/enchive/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + name = "enchive-${version}"; + version = "3.3"; + src = fetchFromGitHub { + owner = "skeeto"; + repo = "enchive"; + rev = version; + sha256 = "0i3b0v5dqz56m5ppzm3332yxkw17dxs2zpvf48769ljgjy74irfl"; + }; + + makeFlags = ["PREFIX=$(out)"]; + + postInstall = '' + mkdir -p $out/share/emacs/site-lisp/ + cp -v "$src/enchive-mode.el" "$out/share/emacs/site-lisp/" + ''; + + meta = { + description = "Encrypted personal archives"; + homepage = https://github.com/skeeto/enchive; + license = stdenv.lib.licenses.unlicense; + platforms = stdenv.lib.platforms.unix; + maintainers = [ stdenv.lib.maintainers.nico202 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 94b1c68804c9..4d657d3bce6f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -565,6 +565,8 @@ with pkgs; gconf = gnome2.GConf; }; + enchive = callPackage ../tools/security/enchive { }; + enpass = callPackage ../tools/security/enpass { }; ezstream = callPackage ../tools/audio/ezstream { };