nixpkgs-suyu/pkgs/development/libraries/double-conversion/default.nix
R. RyanTM fe7df541d2 double-conversion: 3.1.4 -> 3.1.5
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
2019-06-01 22:23:05 +03:00

32 lines
814 B
Nix

{ stdenv, lib, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
name = "double-conversion-${version}";
version = "3.1.5";
src = fetchFromGitHub {
owner = "google";
repo = "double-conversion";
rev = "v${version}";
sha256 = "0csy4pjw1p8rp6g5qxi2h0ychhhp1fldv7gb761627fs2mclw9gv";
};
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 ];
};
}