pkgs: add nolimips

This is a dependency for Tiger Compiler [1].

[1]: https://assignments.lrde.epita.fr/
This commit is contained in:
Bruno BELANYI 2021-04-20 17:19:36 +00:00
parent 89ea720bff
commit 9a9ec81204
2 changed files with 25 additions and 0 deletions

View file

@ -2,5 +2,7 @@
{
lohr = pkgs.callPackage ./lohr { };
nolimips = pkgs.callPackage ./nolimips { };
podgrab = pkgs.callPackage ./podgrab { };
}

23
pkgs/nolimips/default.nix Normal file
View file

@ -0,0 +1,23 @@
{ fetchurl, gnulib, lib, stdenv }:
stdenv.mkDerivation rec {
pname = "nolimips";
version = "0.11";
src = fetchurl {
url = "https://www.lrde.epita.fr/~tiger/download/${pname}-${version}.tar.gz";
sha256 = "sha256-OjbfcBwCZtFP0usz8YXA0lN8xs0jS4I19mkh9p7VHc8=";
};
doCheck = true;
meta = with lib; {
description = "A basic MIPS architecture simulator";
longDescription = ''
A basic MIPS architecture simulator, which implements a few system calls
and supports an arbitrary number of registers.
'';
homepage = "https://www.lrde.epita.fr/wiki/Nolimips";
license = licenses.gpl2;
platforms = platforms.all;
};
}