9 stdenv.mkDerivation rec {
13 src = fetchFromGitHub {
17 sha256 = "1xmbdnfc34ia0a78dhkfv5jyadxndinhw8c47l1mjd4l7n8vqnph";
20 enableParallelBuilding = true;
22 nativeBuildInputs = [ mlton ];
24 # Set as an environment variable in all the phase scripts.
27 buildFlags = [ "all" ];
28 installFlags = [ "prefix=$(out)" ];
32 nativeCheckInputs = [ unzip ];
34 # We cannot run the pkgtests, as Nix does not allow network
43 description = "Generic package manager for Standard ML libraries and programs";
44 homepage = "https://github.com/diku-dk/smlpkg";
45 license = licenses.mit;
46 platforms = mlton.meta.platforms;
47 maintainers = with maintainers; [ athas ];
48 mainProgram = "smlpkg";