mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
double-conversion: update package
This commit is contained in:
parent
0867c43294
commit
b6dfcaa08e
@ -1,19 +1,16 @@
|
|||||||
{ stdenv, fetchurl, cmake }:
|
{ stdenv, fetchFromGitHub, cmake }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "double-conversion-1.1.5";
|
version = "2.0.1";
|
||||||
|
name = "double-conversion-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://double-conversion.googlecode.com/files/${name}.tar.gz";
|
owner = "floitsch";
|
||||||
sha256 = "0hnlyn9r8vd9b3dafnk01ykz4k7bk6xvmvslv93as1cswf7vdvqv";
|
repo = "double-conversion";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "05x5rdwndgp1vdq2z1bpvng0dd8pn93kw4vhl6nsvv9vsara2q4b";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackPhase = ''
|
|
||||||
mkdir $name
|
|
||||||
cd $name
|
|
||||||
tar xzf $src
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
|
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
|
||||||
@ -22,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Binary-decimal and decimal-binary routines for IEEE doubles";
|
description = "Binary-decimal and decimal-binary routines for IEEE doubles";
|
||||||
homepage = https://code.google.com/p/double-conversion/;
|
homepage = https://github.com/floitsch/double-conversion;
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = maintainers.abbradar;
|
maintainers = maintainers.abbradar;
|
||||||
|
Loading…
Reference in New Issue
Block a user