uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
17
pkgs/development/libraries/givaro/3.7.nix
Normal file
17
pkgs/development/libraries/givaro/3.7.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{lib, stdenv, fetchurl, automake, autoconf, libtool, autoreconfHook, gmpxx}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "givaro";
|
||||
version = "3.7.2";
|
||||
src = fetchurl {
|
||||
url = "https://forge.imag.fr/frs/download.php/370/givaro-${version}.tar.gz";
|
||||
sha256 = "0lf5cnbyr27fw7klc3zabkb1979dn67jmrjz6pa3jzw2ng74x9b3";
|
||||
};
|
||||
nativeBuildInputs = [ autoreconfHook autoconf automake ];
|
||||
buildInputs = [libtool gmpxx];
|
||||
meta = {
|
||||
description = "A C++ library for arithmetic and algebraic computations";
|
||||
license = lib.licenses.cecill-b;
|
||||
maintainers = [lib.maintainers.raskin];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
17
pkgs/development/libraries/givaro/3.nix
Normal file
17
pkgs/development/libraries/givaro/3.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{lib, stdenv, fetchurl, automake, autoconf, libtool, autoreconfHook, gmpxx}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "givaro";
|
||||
version = "3.8.0";
|
||||
src = fetchurl {
|
||||
url = "https://forge.imag.fr/frs/download.php/592/givaro-${version}.tar.gz";
|
||||
sha256 = "1822ksv8653a84hvcz0vxl3nk8dqz7d41ys8rplq0zjjmvb2i5yq";
|
||||
};
|
||||
nativeBuildInputs = [ autoreconfHook autoconf automake ];
|
||||
buildInputs = [libtool gmpxx];
|
||||
meta = {
|
||||
description = "A C++ library for arithmetic and algebraic computations";
|
||||
license = lib.licenses.cecill-b;
|
||||
maintainers = [lib.maintainers.raskin];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
44
pkgs/development/libraries/givaro/default.nix
Normal file
44
pkgs/development/libraries/givaro/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib, stdenv, fetchFromGitHub, automake, autoconf, libtool, autoreconfHook, gmpxx }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "givaro";
|
||||
version = "4.2.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "linbox-team";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-KR0WJc0CSvaBnPRott4hQJhWNBb/Wi6MIhcTExtVobQ=";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook autoconf automake ];
|
||||
buildInputs = [libtool];
|
||||
propagatedBuildInputs = [ gmpxx ];
|
||||
|
||||
configureFlags = [
|
||||
"--disable-optimization"
|
||||
] ++ lib.optionals stdenv.isx86_64 [
|
||||
# disable SIMD instructions (which are enabled *when available* by default)
|
||||
"--${if stdenv.hostPlatform.sse3Support then "enable" else "disable"}-sse3"
|
||||
"--${if stdenv.hostPlatform.ssse3Support then "enable" else "disable"}-ssse3"
|
||||
"--${if stdenv.hostPlatform.sse4_1Support then "enable" else "disable"}-sse41"
|
||||
"--${if stdenv.hostPlatform.sse4_2Support then "enable" else "disable"}-sse42"
|
||||
"--${if stdenv.hostPlatform.avxSupport then "enable" else "disable"}-avx"
|
||||
"--${if stdenv.hostPlatform.avx2Support then "enable" else "disable"}-avx2"
|
||||
"--${if stdenv.hostPlatform.fmaSupport then "enable" else "disable"}-fma"
|
||||
"--${if stdenv.hostPlatform.fma4Support then "enable" else "disable"}-fma4"
|
||||
];
|
||||
|
||||
# On darwin, tests are linked to dylib in the nix store, so we need to make
|
||||
# sure tests run after installPhase.
|
||||
doInstallCheck = true;
|
||||
installCheckTarget = "check";
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "A C++ library for arithmetic and algebraic computations";
|
||||
license = lib.licenses.cecill-b;
|
||||
maintainers = [lib.maintainers.raskin];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue