2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, requests, isPy27
|
2020-11-05 23:10:17 +00:00
|
|
|
}:
|
2017-11-07 12:41:27 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "update_checker";
|
2020-08-16 17:31:19 +00:00
|
|
|
version = "0.18.0";
|
2020-11-05 23:10:17 +00:00
|
|
|
disabled = isPy27;
|
2017-11-07 12:41:27 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 17:31:19 +00:00
|
|
|
sha256 = "6a2d45bb4ac585884a6b03f9eade9161cedd9e8111545141e9aa9058932acb13";
|
2017-11-07 12:41:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
|
|
|
# requires network
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-11-07 12:41:27 +00:00
|
|
|
description = "A python module that will check for package updates";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/bboe/update_checker";
|
2017-11-07 12:41:27 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|