nixpkgs/pkgs/development/python-modules/yahooweather/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

25 lines
583 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy3k }:
buildPythonPackage rec {
pname = "yahooweather";
version = "0.10";
format = "setuptools";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "0bsxmngkpzvqm50i2cnxjzhpbdhb8s10ly8h5q08696cjihqdkpa";
};
# Tests require network access
doCheck = false;
meta = with lib; {
description = "Provide an interface to the Yahoo! Weather RSS feed";
homepage = "https://github.com/pvizeli/yahooweather";
license = licenses.bsd2;
maintainers = with maintainers; [ peterhoeg ];
};
}