mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
polyml: move definition of src
attribute to standard location
This commit is contained in:
parent
72061433dd
commit
69d4020bbb
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue