mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
be593f21a5
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
33 lines
814 B
Nix
33 lines
814 B
Nix
{ stdenv, lib, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "double-conversion-${version}";
|
|
version = "3.1.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "google";
|
|
repo = "double-conversion";
|
|
rev = "v${version}";
|
|
sha256 = "082w15xq8f4c422a71phvcahgc8vmqrig97av9g9628q5n2ybbgg";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|