Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 24 lines 577 B view raw
1{ lib, stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 pname = "unifdef"; 5 version = "2.12"; 6 7 src = fetchurl { 8 url = "https://dotat.at/prog/unifdef/unifdef-${version}.tar.xz"; 9 sha256 = "00647bp3m9n01ck6ilw6r24fk4mivmimamvm4hxp5p6wxh10zkj3"; 10 }; 11 12 makeFlags = [ 13 "prefix=$(out)" 14 "DESTDIR=" 15 ]; 16 17 meta = with lib; { 18 homepage = "https://dotat.at/prog/unifdef/"; 19 description = "Selectively remove C preprocessor conditionals"; 20 license = licenses.bsd2; 21 platforms = platforms.unix; 22 maintainers = with maintainers; [ orivej vrthra ]; 23 }; 24}