nur-packages

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

default.nix (846B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5 }:
      6 
      7 python3Packages.buildPythonPackage rec {
      8   pname = "pysheds";
      9   version = "0.4";
     10   pyproject = true;
     11 
     12   src = fetchFromGitHub {
     13     owner = "mdbartos";
     14     repo = "pysheds";
     15     tag = version;
     16     hash = "sha256-cIx/TPPLYsHEgvHtyZY5psRwqtvKQkJ/SnafT2btLBI=";
     17   };
     18 
     19   build-system = with python3Packages; [ setuptools ];
     20 
     21   dependencies = with python3Packages; [
     22     affine
     23     geojson
     24     looseversion
     25     numba
     26     numpy
     27     pandas
     28     pyproj
     29     rasterio
     30     scikitimage
     31     scipy
     32   ];
     33 
     34   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     35 
     36   doCheck = false;
     37 
     38   meta = {
     39     description = "Simple and fast watershed delineation in python";
     40     homepage = "https://github.com/mdbartos/pysheds";
     41     license = lib.licenses.gpl3;
     42     maintainers = [ lib.maintainers.sikmir ];
     43   };
     44 }