1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/compilers/mosml/default.nix

30 lines
821 B
Nix
Raw Normal View History

2018-08-10 08:00:39 +01:00
{ stdenv, fetchurl, gmp, perl }:
stdenv.mkDerivation rec {
name = "mosml-${version}";
version = "2.10.1";
buildInputs = [ gmp perl ];
makeFlags = "PREFIX=$(out)";
src = fetchurl {
url = "https://github.com/kfl/mosml/archive/ver-${version}.tar.gz";
sha256 = "13x7wj94p0inn84pzpj52dch5s9lznqrj287bd3nk3dqd0v3kmgy";
};
setSourceRoot = ''export sourceRoot="$(echo */src)"'';
meta = with stdenv.lib; {
description = "A light-weight implementation of Standard ML";
longDescription = ''
Moscow ML is a light-weight implementation of Standard ML (SML), a strict
functional language used in teaching and research.
'';
homepage = https://mosml.org/;
2018-08-10 08:00:39 +01:00
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ vaibhavsagar ];
};
}