mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
polyml: move definition of src attribute to standard location
This commit is contained in:
@@ -10,6 +10,13 @@ stdenv.mkDerivation rec {
|
||||
pname = "polyml";
|
||||
version = "5.9.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "polyml";
|
||||
repo = "polyml";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-72wm8dt+Id59A5058mVE5P9TkXW5/LZRthZoxUustVA=";
|
||||
};
|
||||
|
||||
prePatch = lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace configure.ac --replace stdc++ c++
|
||||
'';
|
||||
@@ -24,13 +31,6 @@ stdenv.mkDerivation rec {
|
||||
"--with-gmp"
|
||||
];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "polyml";
|
||||
repo = "polyml";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-72wm8dt+Id59A5058mVE5P9TkXW5/LZRthZoxUustVA=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Standard ML compiler and interpreter";
|
||||
longDescription = ''
|
||||
|
||||
Reference in New Issue
Block a user