nixpkgs/pkgs/development/python-modules/update_checker/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

26 lines
584 B
Nix

{ lib, buildPythonPackage, fetchPypi, requests, isPy27
}:
buildPythonPackage rec {
pname = "update_checker";
version = "0.18.0";
format = "setuptools";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "6a2d45bb4ac585884a6b03f9eade9161cedd9e8111545141e9aa9058932acb13";
};
propagatedBuildInputs = [ requests ];
# requires network
doCheck = false;
meta = with lib; {
description = "A python module that will check for package updates";
homepage = "https://github.com/bboe/update_checker";
license = licenses.bsd2;
};
}