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