about summary refs log tree commit diff
path: root/pkgs/development/python-modules/ntplib/default.nix
blob: 9c388e0437d38b8ca9a55a6346f27559f9078c0c (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,
}:

buildPythonPackage rec {
  pname = "ntplib";
  version = "0.4.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "899d8fb5f8c2555213aea95efca02934c7343df6ace9d7628a5176b176906267";
  };

  # Require networking
  doCheck = false;

  meta = with lib; {
    description = "Python NTP library";
    homepage = "http://code.google.com/p/ntplib/";
    license = licenses.mit;
  };
}