blob: c4b5fecca7411f735eb6e67f108d9774d9583e27 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ stdenv, fetchurl, texinfo }:
stdenv.mkDerivation rec {
name = "indent-2.2.12";
src = fetchurl {
url = "mirror://gnu/indent/${name}.tar.gz";
sha256 = "12xvcd16cwilzglv9h7sgh4h1qqjd1h8s48ji2dla58m4706hzg7";
};
patches = [ ./darwin.patch ];
buildInputs = [ texinfo ];
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang
"-Wno-implicit-function-declaration";
hardeningDisable = [ "format" ];
meta = {
homepage = "https://www.gnu.org/software/indent/";
description = "A source code reformatter";
license = stdenv.lib.licenses.gpl3Plus;
maintainers = [ stdenv.lib.maintainers.mmahut ];
platforms = stdenv.lib.platforms.unix;
};
}
|