mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 01:46:30 +00:00
2e6bf42a22
There ver very many conflicts, basically all due to name -> pname+version. Fortunately, almost everything was auto-resolved by kdiff3, and for now I just fixed up a couple evaluation problems, as verified by the tarball job. There might be some fallback to these conflicts, but I believe it should be minimal. Hydra nixpkgs: ?compare=1538299
30 lines
866 B
Nix
30 lines
866 B
Nix
{ stdenv, fetchurl, gmp, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mosml";
|
|
version = "2.10.1";
|
|
|
|
buildInputs = [ gmp perl ];
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ] ++ stdenv.lib.optionals stdenv.isDarwin [ "CC=cc" ];
|
|
|
|
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/;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ vaibhavsagar ];
|
|
};
|
|
}
|