indent: delete redundant preBuild
Builds fine for me without it. Also use https homepage url.
This commit is contained in:
parent
8e398a88a1
commit
e524debaf0
@ -8,15 +8,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0f9655vqdvfwbxvs1gpa7py8k1z71aqh8hp73f65vazwbfz436wa";
|
sha256 = "0f9655vqdvfwbxvs1gpa7py8k1z71aqh8hp73f65vazwbfz436wa";
|
||||||
};
|
};
|
||||||
|
|
||||||
preBuild =
|
|
||||||
''
|
|
||||||
sed -e '/extern FILE [*]output/i#ifndef OUTPUT_DEFINED_ELSEWHERE' -i src/indent.h
|
|
||||||
sed -e '/extern FILE [*]output/a#endif' -i src/indent.h
|
|
||||||
sed -e '1i#define OUTPUT_DEFINED_ELSEWHERE 1' -i src/output.c
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.gnu.org/software/indent/;
|
homepage = https://www.gnu.org/software/indent/;
|
||||||
description = "A source code reformatter";
|
description = "A source code reformatter";
|
||||||
license = stdenv.lib.licenses.gpl3Plus;
|
license = stdenv.lib.licenses.gpl3Plus;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user