mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
pkgs/applications/editors/emacs-modes/maude: the "official" maude mode is crap; use the one from sourceforge instead
svn path=/nixpkgs/trunk/; revision=23471
This commit is contained in:
parent
c1469fba93
commit
62021d80dc
@ -1,19 +1,15 @@
|
|||||||
{stdenv, fetchurl, emacs}:
|
{stdenv, fetchurl, emacs}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation {
|
||||||
name = "maude-mode-2.0";
|
name = "maude-mode-0.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://maude.cs.uiuc.edu/download/maude-mode2.el";
|
url = "mirror://sourceforge/maude-mode/maude-mode-0.2.tar.gz";
|
||||||
sha256 = "0lq5p820pgky8i32005v91g0v9va9jwkv1jr6y4n8zc7bz1gyws6";
|
sha256 = "19jdd7la0bxxxnnq4ryckf63jykg0r3v92z126x6djaigi3xn1yx";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [/* emacs */];
|
buildInputs = [emacs];
|
||||||
|
configureFlags = "--with-lispdir=$$out/share/emacs/site-lisp";
|
||||||
buildCommand = ''
|
|
||||||
ensureDir "$out/share/emacs/site-lisp"
|
|
||||||
substitute "${src}" "$out/share/emacs/site-lisp/maude-mode.el" --replace "/local/bin/maude" "maude"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Emacs mode for the programming language Maude";
|
description = "Emacs mode for the programming language Maude";
|
||||||
|
Loading…
Reference in New Issue
Block a user