nixpkgs/pkgs/development/libraries/science/math/openlibm/default.nix

21 lines
593 B
Nix
Raw Normal View History

2015-10-09 17:02:01 -07:00
{ stdenv, fetchurl }:
2016-09-06 10:31:38 -07:00
stdenv.mkDerivation rec {
pname = "openlibm";
2020-09-05 02:19:39 -07:00
version = "0.7.1";
2015-10-09 17:02:01 -07:00
src = fetchurl {
2016-09-06 10:31:38 -07:00
url = "https://github.com/JuliaLang/openlibm/archive/v${version}.tar.gz";
2020-09-05 02:19:39 -07:00
sha256 = "0yg8sfibr38hpb4s5ri7i0ivp96c7khdwhlxngjiymvl3jvm5cnl";
2015-10-09 17:02:01 -07:00
};
2015-10-10 10:55:08 -07:00
makeFlags = [ "prefix=$(out)" ];
2015-10-09 17:02:01 -07:00
meta = {
description = "High quality system independent, portable, open source libm implementation";
homepage = "https://www.openlibm.org/";
2015-10-09 17:02:01 -07:00
license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.ttuegel ];
platforms = stdenv.lib.platforms.all;
};
}