Merge pull request #97645 from matthiasbeyer/update-weather

Update weather
This commit is contained in:
Daniël de Kok 2020-09-10 17:50:28 +02:00 committed by GitHub
commit cafa97d0d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,12 @@
{ stdenv, fetchurl, pythonPackages }: { stdenv, fetchurl, pythonPackages }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "2.4"; version = "2.4.1";
pname = "weather"; pname = "weather";
src = fetchurl { src = fetchurl {
url = "http://fungi.yuggoth.org/weather/src/${pname}-${version}.tar.xz"; url = "http://fungi.yuggoth.org/weather/src/${pname}-${version}.tar.xz";
sha256 = "084f0am0s1h6y71wgja9acaaxp0mq6k74b6ad4b5wpk2znwv0rzz"; sha256 = "0nf680dl7a2vlgavdhj6ljq8a7lkhvr6zghkpzad53vmilxsndys";
}; };
nativeBuildInputs = [ pythonPackages.wrapPython ]; nativeBuildInputs = [ pythonPackages.wrapPython ];
@ -31,11 +31,11 @@ stdenv.mkDerivation rec {
wrapPythonPrograms wrapPythonPrograms
''; '';
meta = { meta = with stdenv.lib; {
homepage = "http://fungi.yuggoth.org/weather"; homepage = "http://fungi.yuggoth.org/weather";
description = "Quick access to current weather conditions and forecasts"; description = "Quick access to current weather conditions and forecasts";
license = stdenv.lib.licenses.isc; license = licenses.isc;
maintainers = [ stdenv.lib.maintainers.matthiasbeyer ]; maintainers = [ maintainers.matthiasbeyer ];
platforms = with stdenv.lib.platforms; linux; # my only platform platforms = platforms.linux; # my only platform
}; };
} }