nixpkgs/pkgs/tools/security/enchive/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

28 lines
683 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "enchive";
version = "3.4";
src = fetchFromGitHub {
owner = "skeeto";
repo = "enchive";
rev = version;
sha256 = "0ssxbnsjx4mvaqimp5nzfixpxinhmi12z8lxdd8cj2361wbb54yk";
};
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 ];
};
}