mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
28 lines
685 B
Nix
28 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 ];
|
|
};
|
|
}
|