nixpkgs-suyu/pkgs/development/compilers/mosml/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

29 lines
811 B
Nix

{ stdenv, fetchurl, gmp, perl }:
stdenv.mkDerivation rec {
pname = "mosml";
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/;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ vaibhavsagar ];
};
}