21 lines
593 B
Nix
21 lines
593 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "openlibm";
|
|
version = "0.7.0";
|
|
src = fetchurl {
|
|
url = "https://github.com/JuliaLang/openlibm/archive/v${version}.tar.gz";
|
|
sha256 = "18q6mrq4agvlpvhix2k13qcyvqqzh30vj7b329dva64035rzg68n";
|
|
};
|
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
|
|
|
meta = {
|
|
description = "High quality system independent, portable, open source libm implementation";
|
|
homepage = "https://www.openlibm.org/";
|
|
license = stdenv.lib.licenses.mit;
|
|
maintainers = [ stdenv.lib.maintainers.ttuegel ];
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|