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
66
pkgs/development/python-modules/env-canada/default.nix
Normal file
66
pkgs/development/python-modules/env-canada/default.nix
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, geopy
|
||||
, imageio
|
||||
, lxml
|
||||
, pillow
|
||||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, pythonOlder
|
||||
, voluptuous
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "env-canada";
|
||||
version = "0.5.23";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "michaeldavie";
|
||||
repo = "env_canada";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-ksQQ3jujfu2XR0ZaR5fc8GNYDL8Tos+8U4OHS1mMyRY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
geopy
|
||||
imageio
|
||||
lxml
|
||||
pillow
|
||||
python-dateutil
|
||||
voluptuous
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Tests require network access
|
||||
"test_get_aqhi_regions"
|
||||
"test_update"
|
||||
"test_get_hydro_sites"
|
||||
"test_echydro"
|
||||
"test_get_dimensions"
|
||||
"test_get_latest_frame"
|
||||
"test_get_loop"
|
||||
"test_get_ec_sites"
|
||||
"test_ecradar"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"env_canada"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library to get Environment Canada weather data";
|
||||
homepage = "https://github.com/michaeldavie/env_canada";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue