From 5e3ec7ea1e760ba52c30ea8da5bf0bd8b61d308b Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 10 Sep 2020 11:00:15 +0200 Subject: weather: Use scoped variable to increase readability Signed-off-by: Matthias Beyer --- pkgs/applications/misc/weather/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pkgs/applications/misc') diff --git a/pkgs/applications/misc/weather/default.nix b/pkgs/applications/misc/weather/default.nix index 9b6289d7082..a41a080771f 100644 --- a/pkgs/applications/misc/weather/default.nix +++ b/pkgs/applications/misc/weather/default.nix @@ -31,11 +31,11 @@ stdenv.mkDerivation rec { wrapPythonPrograms ''; - meta = { + meta = with stdenv.lib; { homepage = "http://fungi.yuggoth.org/weather"; description = "Quick access to current weather conditions and forecasts"; - license = stdenv.lib.licenses.isc; - maintainers = [ stdenv.lib.maintainers.matthiasbeyer ]; - platforms = with stdenv.lib.platforms; linux; # my only platform + license = licenses.isc; + maintainers = [ maintainers.matthiasbeyer ]; + platforms = platforms.linux; # my only platform }; } -- cgit 1.4.1 From 67871eed1d2b4bfc7d281be107ed47c6a2814ce8 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 10 Sep 2020 11:01:02 +0200 Subject: weather: 2.4 -> 2.4.1 Signed-off-by: Matthias Beyer --- pkgs/applications/misc/weather/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/applications/misc') diff --git a/pkgs/applications/misc/weather/default.nix b/pkgs/applications/misc/weather/default.nix index a41a080771f..f44b5f1f56a 100644 --- a/pkgs/applications/misc/weather/default.nix +++ b/pkgs/applications/misc/weather/default.nix @@ -1,12 +1,12 @@ { stdenv, fetchurl, pythonPackages }: stdenv.mkDerivation rec { - version = "2.4"; + version = "2.4.1"; pname = "weather"; src = fetchurl { url = "http://fungi.yuggoth.org/weather/src/${pname}-${version}.tar.xz"; - sha256 = "084f0am0s1h6y71wgja9acaaxp0mq6k74b6ad4b5wpk2znwv0rzz"; + sha256 = "0nf680dl7a2vlgavdhj6ljq8a7lkhvr6zghkpzad53vmilxsndys"; }; nativeBuildInputs = [ pythonPackages.wrapPython ]; -- cgit 1.4.1