3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/misc/unifdef/default.nix

25 lines
577 B
Nix
Raw Normal View History

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