2017-08-29 21:09:37 +02:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "enchive";
|
2019-12-08 09:02:16 +01:00
|
|
|
version = "3.5";
|
2017-08-29 21:09:37 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "skeeto";
|
|
|
|
repo = "enchive";
|
|
|
|
rev = version;
|
2019-12-08 09:02:16 +01:00
|
|
|
sha256 = "0fdrfc5l42lj2bvmv9dmkmhmm7qiszwk7cmdvnqad3fs7652g0qa";
|
2017-08-29 21:09:37 +02: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";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/skeeto/enchive";
|
2017-08-29 21:09:37 +02:00
|
|
|
license = stdenv.lib.licenses.unlicense;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.nico202 ];
|
|
|
|
};
|
|
|
|
}
|