mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
noweb: 2.12 -> 2.13
This commit is contained in:
parent
9a17fe4f33
commit
82c1f488b8
@ -1,17 +1,17 @@
|
||||
{ lib, stdenv, fetchFromGitHub, nawk, groff, icon-lang, useIcon ? true }:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "noweb";
|
||||
version = "2.12";
|
||||
version = "2.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nrnrnr";
|
||||
repo = "noweb";
|
||||
rev = "v${builtins.replaceStrings ["."] ["_"] version}";
|
||||
sha256 = "1160i2ghgzqvnb44kgwd6s3p4jnk9668rmc15jlcwl7pdf3xqm95";
|
||||
rev = "v${builtins.replaceStrings ["."] ["_"] finalAttrs.version}";
|
||||
sha256 = "sha256-COcWyrYkheRaSr2gqreRRsz9SYRTX2PSl7km+g98ljs=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/src";
|
||||
sourceRoot = "${finalAttrs.src.name}/src";
|
||||
|
||||
patches = [
|
||||
# Remove FAQ
|
||||
@ -20,6 +20,7 @@ stdenv.mkDerivation (finalAttrs: rec {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile --replace 'strip' '${stdenv.cc.targetPrefix}strip'
|
||||
substituteInPlace Makefile --replace '`./gitversion`' '${finalAttrs.src.rev}'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ groff ] ++ lib.optionals useIcon [ icon-lang ];
|
||||
|
@ -1,11 +1,13 @@
|
||||
--- a/Makefile 2006-06-12 22:14:20.000000000 +0200
|
||||
+++ b/Makefile 2010-06-17 11:30:11.804018145 +0200
|
||||
@@ -198,7 +198,7 @@
|
||||
(cd elisp; ci -l $(CINAME) $(CIMSG) *.el)
|
||||
ci -l $(CINAME) $(CIMSG) Makefile.nw INSTALL INSTALL.DOS README FAQ COPYRIGHT nwmake *.nw
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 1897c09..770e108 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -195,7 +195,7 @@ install-elisp:
|
||||
|
||||
uninstall-elisp:
|
||||
rm -f $(ELISP)/noweb-mode.el
|
||||
-source: FAQ
|
||||
+source:
|
||||
for i in c shell lib xdoc icon awk tex; do (cd $$i; make CPIF=">" source); done
|
||||
for i in c shell lib xdoc icon awk tex; do (cd $$i && $(MAKE) CPIF=">" $@); done
|
||||
sleep 1
|
||||
for i in c shell lib xdoc icon awk tex; do (cd $$i; make touch); done
|
||||
for i in c shell lib xdoc icon awk tex; do (cd $$i && $(MAKE) touch); done
|
||||
|
Loading…
Reference in New Issue
Block a user