fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
31 lines
619 B
Nix
31 lines
619 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
requests,
|
|
isPy27,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "update-checker";
|
|
version = "0.18.0";
|
|
format = "setuptools";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
pname = "update_checker";
|
|
inherit 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;
|
|
};
|
|
}
|