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