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
25
pkgs/development/libraries/mpir/default.nix
Normal file
25
pkgs/development/libraries/mpir/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ lib, stdenv, fetchurl, m4, which, yasm }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mpir";
|
||||
version = "3.0.0";
|
||||
|
||||
nativeBuildInputs = [ m4 which yasm ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://mpir.org/mpir-${version}.tar.bz2";
|
||||
sha256 = "1fvmhrqdjs925hzr2i8bszm50h00gwsh17p2kn2pi51zrxck9xjj";
|
||||
};
|
||||
|
||||
configureFlags = [ "--enable-cxx" ]
|
||||
++ lib.optionals stdenv.isLinux [ "--enable-fat" ];
|
||||
|
||||
meta = {
|
||||
description = "A highly optimised library for bignum arithmetic forked from GMP";
|
||||
license = lib.licenses.lgpl3Plus;
|
||||
maintainers = [lib.maintainers.raskin];
|
||||
platforms = lib.platforms.unix;
|
||||
downloadPage = "https://mpir.org/downloads.html";
|
||||
homepage = "https://mpir.org/";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue