nur-packages

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

default.nix (744B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchFromGitHub,
      5   python3Packages,
      6 }:
      7 
      8 python3Packages.buildPythonPackage rec {
      9   pname = "rio-mucho";
     10   version = "1.0.0";
     11   pyproject = true;
     12 
     13   src = fetchFromGitHub {
     14     owner = "mapbox";
     15     repo = "rio-mucho";
     16     tag = version;
     17     hash = "sha256-yr79Lb02vxp2CN+638S8CFxbtim+zrkjxhjwEkx0XsY=";
     18   };
     19 
     20   build-system = with python3Packages; [ setuptools ];
     21 
     22   dependencies = with python3Packages; [
     23     click
     24     numpy
     25     rasterio
     26   ];
     27 
     28   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     29 
     30   meta = {
     31     description = "Parallel processing wrapper for rasterio";
     32     homepage = "https://github.com/mapbox/rio-mucho";
     33     license = lib.licenses.mit;
     34     maintainers = [ lib.maintainers.sikmir ];
     35   };
     36 }