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
50
pkgs/development/python-modules/pyerfa/default.nix
Normal file
50
pkgs/development/python-modules/pyerfa/default.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools-scm
|
||||
, liberfa
|
||||
, packaging
|
||||
, numpy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyerfa";
|
||||
format = "pyproject";
|
||||
version = "2.0.0.1";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "2fd4637ffe2c1e6ede7482c13f583ba7c73119d78bef90175448ce506a0ede30";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
packaging
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
liberfa
|
||||
numpy
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
export PYERFA_USE_SYSTEM_LIBERFA=1
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python bindings for ERFA routines";
|
||||
longDescription = ''
|
||||
PyERFA is the Python wrapper for the ERFA library (Essential Routines
|
||||
for Fundamental Astronomy), a C library containing key algorithms for
|
||||
astronomy, which is based on the SOFA library published by the
|
||||
International Astronomical Union (IAU). All C routines are wrapped as
|
||||
Numpy universal functions, so that they can be called with scalar or
|
||||
array inputs.
|
||||
'';
|
||||
homepage = "https://github.com/liberfa/pyerfa";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.rmcgibbo ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue