2017-08-29 20:09:37 +01:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "enchive";
|
2019-12-08 08:02:16 +00:00
|
|
|
version = "3.5";
|
2017-08-29 20:09:37 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "skeeto";
|
|
|
|
repo = "enchive";
|
|
|
|
rev = version;
|
2019-12-08 08:02:16 +00:00
|
|
|
sha256 = "0fdrfc5l42lj2bvmv9dmkmhmm7qiszwk7cmdvnqad3fs7652g0qa";
|
2017-08-29 20:09:37 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|