mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
23 lines
630 B
Nix
23 lines
630 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "openlibm-0.4.1";
|
|
src = fetchurl {
|
|
url = "https://github.com/JuliaLang/openlibm/archive/v0.4.1.tar.gz";
|
|
sha256 = "0cwqqqlblj3kzp9aq1wnpfs1fl0qd1wp1xzm5shb09w06i4rh9nn";
|
|
};
|
|
|
|
patches = [ ./openlibm-prefix.patch ];
|
|
postPatch = ''
|
|
substituteAllInPlace Make.inc
|
|
'';
|
|
|
|
meta = {
|
|
description = "High quality system independent, portable, open source libm implementation";
|
|
homepage = "http://www.openlibm.org/";
|
|
license = stdenv.lib.licenses.mit;
|
|
maintainers = [ stdenv.lib.maintainers.ttuegel ];
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|