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