pythonPackages.world-bank-data: init at 0.1.4 (#347774)
This commit is contained in:
commit
02ba5770a7
@ -9431,6 +9431,13 @@
|
||||
github = "istoph";
|
||||
githubId = 114227790;
|
||||
};
|
||||
itepastra = {
|
||||
name = "Noa Aarts";
|
||||
github = "itepastra";
|
||||
githubId = 27058689;
|
||||
email = "itepastra@gmail.com";
|
||||
keys = [ { fingerprint = "E681 4CAF 06AE B076 D55D 3E32 A16C DCBF 1472 541F"; } ];
|
||||
};
|
||||
ius = {
|
||||
email = "j.de.gram@gmail.com";
|
||||
name = "Joerie de Gram";
|
||||
|
46
pkgs/development/python-modules/world-bank-data/default.nix
Normal file
46
pkgs/development/python-modules/world-bank-data/default.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
hatchling,
|
||||
cachetools,
|
||||
pandas,
|
||||
requests,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "world-bank-data";
|
||||
version = "0.1.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "world_bank_data";
|
||||
inherit version;
|
||||
hash = "sha256-UidtJovurzrZKWeI7n1bV0vluc5pSg92zKFELvZE9fw=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
cachetools
|
||||
pandas
|
||||
requests
|
||||
];
|
||||
|
||||
# Tests require a HTTP connection
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"world_bank_data"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "World Bank Data API in Python";
|
||||
homepage = "https://github.com/mwouts/world_bank_data";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ itepastra ];
|
||||
};
|
||||
}
|
@ -17574,6 +17574,8 @@ self: super: with self; {
|
||||
|
||||
wordfreq = callPackage ../development/python-modules/wordfreq { };
|
||||
|
||||
world-bank-data = callPackage ../development/python-modules/world-bank-data { };
|
||||
|
||||
worldengine = callPackage ../development/python-modules/worldengine { };
|
||||
|
||||
wrapio = callPackage ../development/python-modules/wrapio { };
|
||||
|
Loading…
Reference in New Issue
Block a user