mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
mpir: rearrange attrs
Signed-off-by: Lisanna Dettwyler <lisanna.dettwyler@gmail.com>
This commit is contained in:
@@ -15,16 +15,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "mpir";
|
||||
version = "3.0.0";
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
m4
|
||||
which
|
||||
yasm
|
||||
texinfo
|
||||
autoreconfHook
|
||||
];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wbhart";
|
||||
repo = "mpir";
|
||||
@@ -51,6 +41,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
})
|
||||
];
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
m4
|
||||
which
|
||||
yasm
|
||||
texinfo
|
||||
autoreconfHook
|
||||
];
|
||||
|
||||
configureFlags = [ "--enable-cxx" ] ++ lib.optionals stdenv.hostPlatform.isLinux [ "--enable-fat" ];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user