nur-packages

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

default.nix (722B)


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