depot/third_party/nixpkgs/pkgs/development/python-modules/update-checker/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

31 lines
617 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 = "Python module that will check for package updates";
homepage = "https://github.com/bboe/update_checker";
license = licenses.bsd2;
};
}