about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/update_checker/default.nix
blob: d3bd5522d122bee9c9f7a8e4f91848cffbbb03a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, buildPythonPackage, fetchPypi, requests, isPy27
}:

buildPythonPackage rec {
  pname = "update_checker";
  version = "0.18.0";
  format = "setuptools";
  disabled = isPy27;

  src = fetchPypi {
    inherit pname 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;
  };
}