mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
python310Packages.overpy: init at 0.6
This commit is contained in:
parent
b351e7e7af
commit
11804e7aeb
45
pkgs/development/python-modules/overpy/default.nix
Normal file
45
pkgs/development/python-modules/overpy/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "overpy";
|
||||
version = "0.6";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DinoTools";
|
||||
repo = "python-overpy";
|
||||
rev = version;
|
||||
hash = "sha256-Tl+tzxnPASL4J6D/BYCEWhXe/mI12OVgNT5lyby3s7A=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# Remove pytest-runner
|
||||
url = "https://patch-diff.githubusercontent.com/raw/DinoTools/python-overpy/pull/104.patch";
|
||||
hash = "sha256-ScS0vd2P+wyQGyCQV6/4cUcqoQ+S07tGpEovuz9oBMw=";
|
||||
})
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"overpy"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python Wrapper to access the Overpass API";
|
||||
homepage = "https://github.com/DinoTools/python-overpy";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ firefly-cpp ];
|
||||
};
|
||||
}
|
@ -6784,6 +6784,8 @@ in {
|
||||
|
||||
overly = callPackage ../development/python-modules/overly { };
|
||||
|
||||
overpy = callPackage ../development/python-modules/overpy { };
|
||||
|
||||
pandas-stubs = callPackage ../development/python-modules/pandas-stubs { };
|
||||
|
||||
parameterizedtestcase = callPackage ../development/python-modules/parameterizedtestcase { };
|
||||
|
Loading…
Reference in New Issue
Block a user