depot/third_party/nixpkgs/pkgs/tools/security/enchive/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

27 lines
669 B
Nix

{ lib, 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 = lib.licenses.unlicense;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.nico202 ];
};
}