nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python310Packages.overpy: init at 0.6

+47
+45
pkgs/development/python-modules/overpy/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , fetchpatch 5 + , pytestCheckHook 6 + , pythonOlder 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "overpy"; 11 + version = "0.6"; 12 + format = "setuptools"; 13 + 14 + disabled = pythonOlder "3.7"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "DinoTools"; 18 + repo = "python-overpy"; 19 + rev = version; 20 + hash = "sha256-Tl+tzxnPASL4J6D/BYCEWhXe/mI12OVgNT5lyby3s7A="; 21 + }; 22 + 23 + patches = [ 24 + (fetchpatch { 25 + # Remove pytest-runner 26 + url = "https://patch-diff.githubusercontent.com/raw/DinoTools/python-overpy/pull/104.patch"; 27 + hash = "sha256-ScS0vd2P+wyQGyCQV6/4cUcqoQ+S07tGpEovuz9oBMw="; 28 + }) 29 + ]; 30 + 31 + checkInputs = [ 32 + pytestCheckHook 33 + ]; 34 + 35 + pythonImportsCheck = [ 36 + "overpy" 37 + ]; 38 + 39 + meta = with lib; { 40 + description = "Python Wrapper to access the Overpass API"; 41 + homepage = "https://github.com/DinoTools/python-overpy"; 42 + license = licenses.mit; 43 + maintainers = with maintainers; [ firefly-cpp ]; 44 + }; 45 + }
+2
pkgs/top-level/python-packages.nix
··· 6784 6784 6785 6785 overly = callPackage ../development/python-modules/overly { }; 6786 6786 6787 + overpy = callPackage ../development/python-modules/overpy { }; 6788 + 6787 6789 pandas-stubs = callPackage ../development/python-modules/pandas-stubs { }; 6788 6790 6789 6791 parameterizedtestcase = callPackage ../development/python-modules/parameterizedtestcase { };