2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, requests, isPy27
|
2020-11-19 00:13:47 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2024-01-25 14:12:00 +00:00
|
|
|
pname = "update-checker";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "0.18.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-11-19 00:13:47 +00:00
|
|
|
disabled = isPy27;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-01-25 14:12:00 +00:00
|
|
|
pname = "update_checker";
|
|
|
|
inherit version;
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "6a2d45bb4ac585884a6b03f9eade9161cedd9e8111545141e9aa9058932acb13";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
|
|
|
# requires network
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A python module that will check for package updates";
|
|
|
|
homepage = "https://github.com/bboe/update_checker";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|