mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 09:17:34 +00:00
emacs: add package "xml-rpc"
This commit is contained in:
parent
338e78c7b6
commit
7bbda346ba
32
pkgs/applications/editors/emacs-modes/xml-rpc/default.nix
Normal file
32
pkgs/applications/editors/emacs-modes/xml-rpc/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{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 = {
|
||||
description = "An elisp implementation of clientside XML-RPC.";
|
||||
homepage = https://launchpad.net/xml-rpc-el;
|
||||
license = "GPLv3+";
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
@ -6807,6 +6807,8 @@ let
|
||||
scalaMode = callPackage ../applications/editors/emacs-modes/scala-mode { };
|
||||
|
||||
sunriseCommander = callPackage ../applications/editors/emacs-modes/sunrise-commander { };
|
||||
|
||||
xmlRpc = callPackage ../applications/editors/emacs-modes/xml-rpc { };
|
||||
};
|
||||
|
||||
emacs22Packages = emacsPackages emacs22 pkgs.emacs22Packages;
|
||||
|
Loading…
Reference in New Issue
Block a user