default.nix (788B)
1 { 2 lib, 3 stdenv, 4 python3Packages, 5 fetchFromGitHub, 6 }: 7 8 python3Packages.buildPythonPackage rec { 9 pname = "earthpy"; 10 version = "0.9.4"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "earthlab"; 15 repo = "earthpy"; 16 tag = "v${version}"; 17 hash = "sha256-MCyeFXtjOqnVarSUk7Z/+Y5oNhYLlxznjWHQOCgUOIc="; 18 }; 19 20 build-system = with python3Packages; [ setuptools ]; 21 22 dependencies = with python3Packages; [ 23 geopandas 24 matplotlib 25 numpy 26 rasterio 27 scikitimage 28 requests 29 ]; 30 31 doCheck = false; 32 33 meta = { 34 description = "A package built to support working with spatial data using open source python"; 35 homepage = "https://github.com/earthlab/earthpy"; 36 license = lib.licenses.bsd3; 37 maintainers = [ lib.maintainers.sikmir ]; 38 }; 39 }