Skip to content

Instantly share code, notes, and snippets.

@oscarcarlsson
Created July 15, 2019 05:32
Show Gist options
  • Save oscarcarlsson/fa2b665806486ef45ffd9502c29a7d99 to your computer and use it in GitHub Desktop.
Save oscarcarlsson/fa2b665806486ef45ffd9502c29a7d99 to your computer and use it in GitHub Desktop.
{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
}:
buildPythonPackage rec {
pname = "smhi-pkg";
version = "1.0.10";
src = fetchPypi {
pname = "smhi_pkg";
inherit version;
sha256 = "da7e6912e920dc77a920d1713130207f6fde109def091d1ae5ef48c0f1a534e8";
};
propagatedBuildInputs = [ aiohttp ];
meta = with lib; {
homepage = "https://github.com/helto4real/python-packages/smhi";
license = licenses.mit;
description = "Gets the weather forecast data from Swedish weather institute";
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment