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
56
pkgs/development/python-modules/pyvo/default.nix
Normal file
56
pkgs/development/python-modules/pyvo/default.nix
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, astropy
|
||||
, pillow
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, pytest-astropy
|
||||
, requests
|
||||
, requests-mock
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyvo";
|
||||
version = "1.3";
|
||||
|
||||
disabled = pythonOlder "3.8"; # according to setup.cfg
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "846a54a05a8ddb47a8c2cc3077434779b0e4ccc1b74a7a5408593cb673307d67";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
astropy
|
||||
requests
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pillow
|
||||
pytestCheckHook
|
||||
pytest-astropy
|
||||
requests-mock
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# touches network
|
||||
"pyvo/dal/tests/test_datalink.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pyvo" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Astropy affiliated package for accessing Virtual Observatory data and services";
|
||||
homepage = "https://github.com/astropy/pyvo";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ smaret ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue