double_conversion: add package
This commit is contained in:
parent
e96df6c6f9
commit
064af53063
30
pkgs/development/libraries/double-conversion/default.nix
Normal file
30
pkgs/development/libraries/double-conversion/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user