nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

default.nix (789B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5   geoarrow-c,
      6 }:
      7 
      8 python3Packages.buildPythonPackage rec {
      9   pname = "geoarrow-pyarrow";
     10   version = "0.1.2";
     11   pyproject = true;
     12 
     13   src = fetchFromGitHub {
     14     owner = "geoarrow";
     15     repo = "geoarrow-python";
     16     rev = "v${version}";
     17     hash = "sha256-Ni+GKTRhRDRHip1us3OZPuUhHQCNU7Nap865T/+CU8Y=";
     18   };
     19 
     20   sourceRoot = "${src.name}/geoarrow-pyarrow";
     21 
     22   build-system = with python3Packages; [ setuptools-scm ];
     23 
     24   dependencies = with python3Packages; [
     25     geoarrow-c
     26     pyarrow
     27     pyarrow-hotfix
     28   ];
     29 
     30   meta = {
     31     description = "Python implementation of the GeoArrow specification";
     32     homepage = "https://github.com/geoarrow/geoarrow-python";
     33     license = lib.licenses.asl20;
     34     maintainers = [ lib.maintainers.sikmir ];
     35   };
     36 }