1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/misc/emulators/dlx/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

32 lines
782 B
Nix

{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation {
name = "dlx-2012.07.08";
src = fetchurl {
url = "http://www.davidviner.com/zip/dlx/dlx.zip";
sha256 = "0q5hildq2xcig7yrqi26n7fqlanyssjirm7swy2a9icfxpppfpkn";
};
buildInputs = [ unzip ];
makeFlags = "LINK=gcc CFLAGS=-O2";
hardeningDisable = [ "format" ];
installPhase = ''
mkdir -p $out/include/dlx $out/share/dlx/{examples,doc} $out/bin
mv -v masm mon dasm $out/bin/
mv -v *.i auto.a $out/include/dlx/
mv -v *.a *.m $out/share/dlx/examples/
mv -v README.txt MANUAL.TXT $out/share/dlx/doc/
'';
meta = {
homepage = http://www.davidviner.com/dlx.php;
description = "DLX Simulator";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}