Loading pkgs/by-name/dl/dlx/package.nix +13 −10 Original line number Diff line number Diff line Loading @@ -6,18 +6,21 @@ stdenv.mkDerivation { pname = "dlx"; version = "2012-07-08"; version = "0-unstable-2012-07-08"; src = fetchzip { url = "https://www.davidviner.com/zip/dlx/dlx.zip"; sha256 = "0508linnar9ivy3xr99gzrb2l027ngx12dlxaxs7w67cnwqnb0dg"; hash = "sha256-r4FlMbfsGH50V502EfqzRwAqVv4vpdyH3zFlZW2kCBQ="; }; makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" "LINK=${stdenv.cc.targetPrefix}cc" "CFLAGS=-O2" ]; preBuild = '' makeFlagsArray+=( CC="${stdenv.cc.targetPrefix}cc" LINK="${stdenv.cc.targetPrefix}cc" CFLAGS="-O2 -Wno-implicit-function-declaration" ) ''; hardeningDisable = [ "format" ]; installPhase = '' Loading @@ -28,10 +31,10 @@ stdenv.mkDerivation { mv README.txt MANUAL.TXT $out/share/dlx/doc/ ''; meta = with lib; { meta = { homepage = "https://www.davidviner.com/dlx.html?name=DLX+Simulator"; description = "DLX simulator written in C"; license = licenses.gpl2Only; platforms = platforms.linux; license = lib.licenses.gpl2Only; platforms = lib.platforms.linux; }; } Loading
pkgs/by-name/dl/dlx/package.nix +13 −10 Original line number Diff line number Diff line Loading @@ -6,18 +6,21 @@ stdenv.mkDerivation { pname = "dlx"; version = "2012-07-08"; version = "0-unstable-2012-07-08"; src = fetchzip { url = "https://www.davidviner.com/zip/dlx/dlx.zip"; sha256 = "0508linnar9ivy3xr99gzrb2l027ngx12dlxaxs7w67cnwqnb0dg"; hash = "sha256-r4FlMbfsGH50V502EfqzRwAqVv4vpdyH3zFlZW2kCBQ="; }; makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" "LINK=${stdenv.cc.targetPrefix}cc" "CFLAGS=-O2" ]; preBuild = '' makeFlagsArray+=( CC="${stdenv.cc.targetPrefix}cc" LINK="${stdenv.cc.targetPrefix}cc" CFLAGS="-O2 -Wno-implicit-function-declaration" ) ''; hardeningDisable = [ "format" ]; installPhase = '' Loading @@ -28,10 +31,10 @@ stdenv.mkDerivation { mv README.txt MANUAL.TXT $out/share/dlx/doc/ ''; meta = with lib; { meta = { homepage = "https://www.davidviner.com/dlx.html?name=DLX+Simulator"; description = "DLX simulator written in C"; license = licenses.gpl2Only; platforms = platforms.linux; license = lib.licenses.gpl2Only; platforms = lib.platforms.linux; }; }