nur-packages

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

default.nix (693B)


      1 { lib, stdenv, python3Packages, fetchFromGitHub }:
      2 
      3 python3Packages.buildPythonPackage rec {
      4   pname = "earthpy";
      5   version = "0.9.2";
      6 
      7   src = fetchFromGitHub {
      8     owner = "earthlab";
      9     repo = "earthpy";
     10     rev = "v${version}";
     11     hash = "sha256-LMKExIyhtI+gqcxBxhBPWKMyMHr/mJEJwQRSlNUXQP8=";
     12   };
     13 
     14   propagatedBuildInputs = with python3Packages; [
     15     geopandas
     16     matplotlib
     17     numpy
     18     rasterio
     19     scikitimage
     20     requests
     21   ];
     22 
     23   doCheck = false;
     24 
     25   meta = with lib; {
     26     description = "A package built to support working with spatial data using open source python";
     27     inherit (src.meta) homepage;
     28     license = licenses.bsd3;
     29     maintainers = [ maintainers.sikmir ];
     30   };
     31 }