default.nix (712B)
1 { 2 lib, 3 python3Packages, 4 fetchFromGitHub, 5 }: 6 7 python3Packages.buildPythonPackage rec { 8 pname = "smopy"; 9 version = "0.0.7"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "rossant"; 14 repo = "smopy"; 15 tag = "v${version}"; 16 hash = "sha256-ds3BQryv9uwJYfpqbFOT7Cxm2HkHhfVqvu8eeyaAET0="; 17 }; 18 19 build-system = with python3Packages; [ setuptools ]; 20 21 dependencies = with python3Packages; [ 22 numpy 23 ipython 24 pillow 25 matplotlib 26 ]; 27 28 pythonImportsCheck = [ "smopy" ]; 29 30 meta = { 31 description = "OpenStreetMap image tiles in Python"; 32 homepage = "https://github.com/rossant/smopy"; 33 license = lib.licenses.bsd3; 34 maintainers = [ lib.maintainers.sikmir ]; 35 }; 36 }