Merge pull request #97645 from matthiasbeyer/update-weather
Update weather
This commit is contained in:
commit
cafa97d0d4
@ -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
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user