depot/third_party/nixpkgs/pkgs/tools/security/enchive/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

27 lines
685 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "enchive";
version = "3.5";
src = fetchFromGitHub {
owner = "skeeto";
repo = "enchive";
rev = version;
sha256 = "0fdrfc5l42lj2bvmv9dmkmhmm7qiszwk7cmdvnqad3fs7652g0qa";
};
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 ];
};
}