mpir: init at 2.7.2
This commit is contained in:
parent
85a87f5155
commit
36d3038e3d
20
pkgs/development/libraries/mpir/\
Normal file
20
pkgs/development/libraries/mpir/\
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{stdenv, fetchurl}:
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "mpir-${version}";
|
||||||
|
version = "1";
|
||||||
|
inherit buildInputs;
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://mpir.org/mpir-${version}.tar.bz2";
|
||||||
|
sha256 = "0000000000000000000000000000000000000000000000000000000000000000";
|
||||||
|
};
|
||||||
|
meta = {
|
||||||
|
inherit version;
|
||||||
|
description = ''A highly optimised library for bignum arithmetic forked from GMP'';
|
||||||
|
license = stdenv.lib.licenses. ;
|
||||||
|
maintainers = [stdenv.lib.maintainers.raskin];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
downloadPage = "http://mpir.org/downloads.html";
|
||||||
|
homepage = "http://mpir.org/";
|
||||||
|
updateWalker = true;
|
||||||
|
};
|
||||||
|
}
|
20
pkgs/development/libraries/mpir/default.nix
Normal file
20
pkgs/development/libraries/mpir/default.nix
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{stdenv, fetchurl, m4}:
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "mpir-${version}";
|
||||||
|
version = "2.7.2";
|
||||||
|
buildInputs = [m4];
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://mpir.org/mpir-${version}.tar.bz2";
|
||||||
|
sha256 = "1v25dx7cah2vxwzgq78hpzqkryrfxhwx3mcj3jjq3xxljlsw7m57";
|
||||||
|
};
|
||||||
|
meta = {
|
||||||
|
inherit version;
|
||||||
|
description = ''A highly optimised library for bignum arithmetic forked from GMP'';
|
||||||
|
license = stdenv.lib.licenses.lgpl3Plus;
|
||||||
|
maintainers = [stdenv.lib.maintainers.raskin];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
downloadPage = "http://mpir.org/downloads.html";
|
||||||
|
homepage = "http://mpir.org/";
|
||||||
|
updateWalker = true;
|
||||||
|
};
|
||||||
|
}
|
@ -7071,6 +7071,9 @@ in
|
|||||||
#GMP ex-satellite, so better keep it near gmp
|
#GMP ex-satellite, so better keep it near gmp
|
||||||
mpfr = callPackage ../development/libraries/mpfr/default.nix { };
|
mpfr = callPackage ../development/libraries/mpfr/default.nix { };
|
||||||
|
|
||||||
|
# A GMP fork
|
||||||
|
mpir = callPackage ../development/libraries/mpir {};
|
||||||
|
|
||||||
gobjectIntrospection = callPackage ../development/libraries/gobject-introspection {
|
gobjectIntrospection = callPackage ../development/libraries/gobject-introspection {
|
||||||
nixStoreDir = config.nix.storeDir or builtins.storeDir;
|
nixStoreDir = config.nix.storeDir or builtins.storeDir;
|
||||||
inherit (darwin) cctools;
|
inherit (darwin) cctools;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user