2015-10-10 02:02:01 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
2016-09-06 19:31:38 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "openlibm-${version}";
|
2018-03-09 14:10:28 +01:00
|
|
|
version = "0.5.5";
|
2015-10-10 02:02:01 +02:00
|
|
|
src = fetchurl {
|
2016-09-06 19:31:38 +02:00
|
|
|
url = "https://github.com/JuliaLang/openlibm/archive/v${version}.tar.gz";
|
2018-03-09 14:10:28 +01:00
|
|
|
sha256 = "1z8cj5q8ca8kmrakwkpjxf8svi81waw0c568cx8v8pv9kvswbp07";
|
2015-10-10 02:02:01 +02:00
|
|
|
};
|
|
|
|
|
2015-10-10 19:55:08 +02:00
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
2015-10-10 02:02:01 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "High quality system independent, portable, open source libm implementation";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://www.openlibm.org/;
|
2015-10-10 02:02:01 +02:00
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ttuegel ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|