pkgs: add nolimips
This is a dependency for Tiger Compiler [1]. [1]: https://assignments.lrde.epita.fr/
This commit is contained in:
parent
89ea720bff
commit
9a9ec81204
|
@ -2,5 +2,7 @@
|
|||
{
|
||||
lohr = pkgs.callPackage ./lohr { };
|
||||
|
||||
nolimips = pkgs.callPackage ./nolimips { };
|
||||
|
||||
podgrab = pkgs.callPackage ./podgrab { };
|
||||
}
|
||||
|
|
23
pkgs/nolimips/default.nix
Normal file
23
pkgs/nolimips/default.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue