2021-01-30 06:56:41 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2008-08-29 14:53:28 +01:00
|
|
|
|
2015-02-08 06:32:32 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-01-30 06:56:41 +00:00
|
|
|
pname = "unifdef";
|
|
|
|
version = "2.12";
|
2008-08-29 14:53:28 +01:00
|
|
|
|
2016-06-28 17:48:25 +01:00
|
|
|
src = fetchurl {
|
2021-01-30 06:56:41 +00:00
|
|
|
url = "https://dotat.at/prog/unifdef/unifdef-${version}.tar.xz";
|
|
|
|
sha256 = "00647bp3m9n01ck6ilw6r24fk4mivmimamvm4hxp5p6wxh10zkj3";
|
2008-08-29 14:53:28 +01:00
|
|
|
};
|
|
|
|
|
2021-01-30 06:56:41 +00:00
|
|
|
makeFlags = [
|
|
|
|
"prefix=$(out)"
|
|
|
|
"DESTDIR="
|
|
|
|
];
|
2008-08-29 14:53:28 +01:00
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2021-01-30 06:56:41 +00:00
|
|
|
homepage = "https://dotat.at/prog/unifdef/";
|
2015-02-08 06:32:32 +00:00
|
|
|
description = "Selectively remove C preprocessor conditionals";
|
2016-06-26 02:34:57 +01:00
|
|
|
license = licenses.bsd2;
|
2016-06-28 05:38:25 +01:00
|
|
|
platforms = platforms.unix;
|
2021-01-30 06:56:41 +00:00
|
|
|
maintainers = with maintainers; [ orivej vrthra ];
|
2008-08-29 14:53:28 +01:00
|
|
|
};
|
|
|
|
}
|