mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
python3.pkgs.geoarrow-types: init at 0.2.0
This commit is contained in:
45
pkgs/development/python-modules/geoarrow-types/default.nix
Normal file
45
pkgs/development/python-modules/geoarrow-types/default.nix
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
pytestCheckHook,
|
||||
pyarrow,
|
||||
setuptools-scm,
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "geoarrow-types";
|
||||
version = "0.2.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "geoarrow-python";
|
||||
owner = "geoarrow";
|
||||
rev = "refs/tags/geoarrow-types-${version}";
|
||||
hash = "sha256-LySb4AsRuSirDJ73MAPpnMwPM2WFfG6X82areR4Y4lI=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/geoarrow-types";
|
||||
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pyarrow
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "geoarrow.types" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "PyArrow types for geoarrow";
|
||||
homepage = "https://github.com/geoarrow/geoarrow-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [
|
||||
cpcloud
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -4964,6 +4964,8 @@ self: super: with self; {
|
||||
|
||||
geoalchemy2 = callPackage ../development/python-modules/geoalchemy2 { };
|
||||
|
||||
geoarrow-types = callPackage ../development/python-modules/geoarrow-types { };
|
||||
|
||||
geocachingapi = callPackage ../development/python-modules/geocachingapi { };
|
||||
|
||||
geocoder = callPackage ../development/python-modules/geocoder { };
|
||||
|
||||
Reference in New Issue
Block a user