2012-09-09 18:32:14 +01:00
|
|
|
{stdenv, fetchurl, emacs}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "xml-rpc-1.6.8";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = https://launchpadlibrarian.net/40270196/xml-rpc.el;
|
|
|
|
sha256 = "0i8hf90yhrjwqrv7q1f2g1cff6ld8apqkka42fh01wkdys1fbm7b";
|
|
|
|
};
|
|
|
|
|
|
|
|
phases = [ "buildPhase" "installPhase"];
|
|
|
|
|
|
|
|
buildInputs = [ emacs ];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
cp $src xml-rpc.el
|
|
|
|
emacs --batch -f batch-byte-compile xml-rpc.el
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -d $out/share/emacs/site-lisp
|
|
|
|
install xml-rpc.el* $out/share/emacs/site-lisp
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Elisp implementation of clientside XML-RPC";
|
2012-09-09 18:32:14 +01:00
|
|
|
homepage = https://launchpad.net/xml-rpc-el;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2012-09-09 18:32:14 +01:00
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|