nix-config/pkgs/nolimips/default.nix
Bruno BELANYI 5fa2b1fed9 pkgs: use 'lib' as first input
This is the idiomatic style in nixpkgs.
2021-06-16 20:13:25 +02:00

25 lines
718 B
Nix

{ lib, fetchurl, gnulib, 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;
maintainers = with maintainers; [ ambroisie ];
};
}