Add DLX simulator. Upstream provides no version number.

This commit is contained in:
Peter Simons 2012-12-04 14:29:35 +01:00
parent 138e9e0212
commit 50e7ddbdca
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ 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 ];
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 hp.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 = "GPL-2";
};
}

View File

@ -455,6 +455,8 @@ let
catdoc = callPackage ../tools/text/catdoc { };
dlx = callPackage ../misc/emulators/dlx { };
eggdrop = callPackage ../tools/networking/eggdrop { };
enca = callPackage ../tools/text/enca { };