nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 42 lines 925 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 geojson, 6 haversine, 7 pytz, 8 requests, 9 pytestCheckHook, 10}: 11 12buildPythonPackage rec { 13 pname = "geojson-client"; 14 version = "0.8"; 15 format = "setuptools"; 16 17 src = fetchFromGitHub { 18 owner = "exxamalte"; 19 repo = "python-geojson-client"; 20 tag = "v${version}"; 21 hash = "sha256-nzM5P1ww6yWM3e2v3hRw0ECoYmRPhTs0Q7Wwicl+IpU="; 22 }; 23 24 propagatedBuildInputs = [ 25 geojson 26 haversine 27 pytz 28 requests 29 ]; 30 31 nativeCheckInputs = [ pytestCheckHook ]; 32 33 pythonImportsCheck = [ "geojson_client" ]; 34 35 meta = { 36 description = "Python module for convenient access to GeoJSON feeds"; 37 homepage = "https://github.com/exxamalte/python-geojson-client"; 38 changelog = "https://github.com/exxamalte/python-geojson-client/blob/v${version}/CHANGELOG.md"; 39 license = with lib.licenses; [ asl20 ]; 40 maintainers = with lib.maintainers; [ fab ]; 41 }; 42}