nix-config/pkgs/nolimips/default.nix
Bruno BELANYI 9a9ec81204 pkgs: add nolimips
This is a dependency for Tiger Compiler [1].

[1]: https://assignments.lrde.epita.fr/
2021-04-25 12:39:17 +00:00

24 lines
667 B
Nix

{ 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;
};
}