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
70
pkgs/development/python-modules/aplpy/default.nix
Normal file
70
pkgs/development/python-modules/aplpy/default.nix
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
{ lib
|
||||
, astropy
|
||||
, astropy-helpers
|
||||
, buildPythonPackage
|
||||
, cython
|
||||
, fetchpatch
|
||||
, fetchPypi
|
||||
, matplotlib
|
||||
, numpy
|
||||
, pillow
|
||||
, pyavm
|
||||
, pyregion
|
||||
, pytest-astropy
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, reproject
|
||||
, scikitimage
|
||||
, shapely
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aplpy";
|
||||
version = "2.1.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "aplpy";
|
||||
inherit version;
|
||||
hash = "sha256-KCdmBwQWt7IfHsjq7pWlbSISEpfQZDyt+SQSTDaUCV4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
astropy-helpers
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
astropy
|
||||
cython
|
||||
matplotlib
|
||||
numpy
|
||||
pillow
|
||||
pyavm
|
||||
pyregion
|
||||
reproject
|
||||
scikitimage
|
||||
shapely
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest-astropy
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
OPENMP_EXPECTED=0
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aplpy"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "The Astronomical Plotting Library in Python";
|
||||
homepage = "http://aplpy.github.io";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ smaret ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue