Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 52 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pytestCheckHook, pandas, pyarrow, geoarrow-pyarrow, setuptools-scm,}:buildPythonPackage rec { pname = "geoarrow-pandas"; version = "0.1.2"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { repo = "geoarrow-python"; owner = "geoarrow"; tag = "geoarrow-pandas-${version}"; hash = "sha256-Ni+GKTRhRDRHip1us3OZPuUhHQCNU7Nap865T/+CU8Y="; };
sourceRoot = "${src.name}/geoarrow-pandas";
build-system = [ setuptools-scm ];
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
dependencies = [ geoarrow-pyarrow pandas pyarrow ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "geoarrow.pandas" ];
meta = with lib; { description = "Python implementation of the GeoArrow specification"; homepage = "https://github.com/geoarrow/geoarrow-python"; license = licenses.asl20; maintainers = with maintainers; [ cpcloud ]; };}