default.nix (769B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonPackage rec { 8 pname = "geoarrow-c"; 9 version = "0.1.2"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "geoarrow"; 14 repo = "geoarrow-c"; 15 rev = "v${version}"; 16 hash = "sha256-uEB+D3HhrjnCgExhguZkmvYzULWo5gAWxXeIGQOssqo="; 17 }; 18 19 sourceRoot = "${src.name}/python/geoarrow-c"; 20 21 build-system = with python3Packages; [ setuptools-scm ]; 22 23 nativeBuildInputs = with python3Packages; [ cython ]; 24 25 meta = { 26 description = "Experimental C and C++ implementation of the GeoArrow specification"; 27 homepage = "http://geoarrow.org/geoarrow-c/"; 28 license = lib.licenses.asl20; 29 maintainers = [ lib.maintainers.sikmir ]; 30 platforms = lib.platforms.unix; 31 }; 32 }