2020-11-19 00:13:47 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, requests, isPy27
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "update_checker";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "0.18.0";
|
2020-11-19 00:13:47 +00:00
|
|
|
disabled = isPy27;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname 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;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A python module that will check for package updates";
|
|
|
|
homepage = "https://github.com/bboe/update_checker";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|