nixpkgs/pkgs/tools/security/enchive/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
669 B
Nix
Raw Normal View History

2021-01-15 09:19:50 +00:00
{ lib, stdenv, fetchFromGitHub }:
2017-08-29 19:09:37 +00:00
stdenv.mkDerivation rec {
pname = "enchive";
2019-12-08 08:02:16 +00:00
version = "3.5";
2017-08-29 19:09:37 +00:00
src = fetchFromGitHub {
owner = "skeeto";
repo = "enchive";
rev = version;
2019-12-08 08:02:16 +00:00
sha256 = "0fdrfc5l42lj2bvmv9dmkmhmm7qiszwk7cmdvnqad3fs7652g0qa";
2017-08-29 19:09:37 +00: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";
2021-01-15 09:19:50 +00:00
license = lib.licenses.unlicense;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.nico202 ];
2017-08-29 19:09:37 +00:00
};
}