nur-packages

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

default.nix (707B)


      1 { lib, fetchFromGitHub, python3Packages }:
      2 
      3 python3Packages.buildPythonPackage rec {
      4   pname = "pysheds";
      5   version = "0.3.5";
      6 
      7   src = fetchFromGitHub {
      8     owner = "mdbartos";
      9     repo = "pysheds";
     10     rev = version;
     11     hash = "sha256-OAc/OxqEvASpRNJL/KcE+exHGJie0oVv4fS+XXhtRcI=";
     12   };
     13 
     14   propagatedBuildInputs = with python3Packages; [
     15     scikitimage
     16     affine
     17     geojson
     18     rasterio
     19     pyproj
     20     numba
     21   ];
     22 
     23   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     24 
     25   doCheck = false;
     26 
     27   meta = with lib; {
     28     description = "Simple and fast watershed delineation in python";
     29     inherit (src.meta) homepage;
     30     license = licenses.gpl3;
     31     maintainers = [ maintainers.sikmir ];
     32   };
     33 }