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