1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/double-conversion/default.nix
R. RyanTM 39d85a2e0f double-conversion: 3.0.0 -> 3.1.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/double-conversion/versions
2018-09-20 16:43:32 -07:00

33 lines
814 B
Nix

{ stdenv, lib, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
name = "double-conversion-${version}";
version = "3.1.1";
src = fetchFromGitHub {
owner = "google";
repo = "double-conversion";
rev = "v${version}";
sha256 = "123rb2p4snqagrybw66vnapchqdwn2rfpr1wcq0ya9gwbyl7xccx";
};
nativeBuildInputs = [ cmake ];
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
# Case sensitivity issue
preConfigure = lib.optionalString stdenv.isDarwin ''
rm BUILD
'';
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Binary-decimal and decimal-binary routines for IEEE doubles";
homepage = https://github.com/google/double-conversion;
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = with maintainers; [ abbradar ];
};
}