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
36
pkgs/development/python-modules/gmpy2/default.nix
Normal file
36
pkgs/development/python-modules/gmpy2/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPyPy
|
||||
, gmp
|
||||
, mpfr
|
||||
, libmpc
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "gmpy2";
|
||||
version = "2.1.2";
|
||||
in
|
||||
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
|
||||
disabled = isPyPy;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aleaxit";
|
||||
repo = "gmpy";
|
||||
rev = "gmpy2-${version}";
|
||||
sha256 = "sha256-ARCttNzRA+Ji2j2NYaSCDXgvoEg01T9BnYadyqON2o0=";
|
||||
};
|
||||
|
||||
buildInputs = [ gmp mpfr libmpc ];
|
||||
|
||||
pythonImportsCheck = [ "gmpy2" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "GMP/MPIR, MPFR, and MPC interface to Python 2.6+ and 3.x";
|
||||
homepage = "https://github.com/aleaxit/gmpy/";
|
||||
license = licenses.gpl3Plus;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue