double_conversion: add package

This commit is contained in:
Nikolay Amiantov 2014-10-15 19:04:12 +04:00
parent e96df6c6f9
commit 064af53063
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ stdenv, fetchurl, cmake }:
stdenv.mkDerivation rec {
name = "double-conversion-1.1.5";
src = fetchurl {
url = "https://double-conversion.googlecode.com/files/${name}.tar.gz";
sha256 = "0hnlyn9r8vd9b3dafnk01ykz4k7bk6xvmvslv93as1cswf7vdvqv";
};
unpackPhase = ''
mkdir $name
cd $name
tar xzf $src
'';
nativeBuildInputs = [ cmake ];
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Binary-decimal and decimal-binary routines for IEEE doubles";
homepage = https://code.google.com/p/double-conversion/;
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = maintainers.abbradar;
};
}

View File

@ -5005,6 +5005,8 @@ let
dhex = callPackage ../applications/editors/dhex { };
double_conversion = callPackage ../development/libraries/double-conversion { };
dclib = callPackage ../development/libraries/dclib { };
dillo = callPackage ../applications/networking/browsers/dillo {