pythonPackages.ntplib: refactor move to python-modules
This commit is contained in:
parent
d9d93f8e14
commit
1a267e65f7
24
pkgs/development/python-modules/ntplib/default.nix
Normal file
24
pkgs/development/python-modules/ntplib/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ntplib";
|
||||
version = "0.3.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c4621b64d50be9461d9bd9a71ba0b4af06fbbf818bbd483752d95c1a4e273ede";
|
||||
};
|
||||
|
||||
# Require networking
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python NTP library";
|
||||
homepage = http://code.google.com/p/ntplib/;
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
@ -2948,21 +2948,7 @@ in {
|
||||
|
||||
ntfy = callPackage ../development/python-modules/ntfy { };
|
||||
|
||||
ntplib = buildPythonPackage rec {
|
||||
name = "ntplib-0.3.3";
|
||||
src = pkgs.fetchurl {
|
||||
url = mirror://pypi/n/ntplib/ntplib-0.3.3.tar.gz;
|
||||
sha256 = "c4621b64d50be9461d9bd9a71ba0b4af06fbbf818bbd483752d95c1a4e273ede";
|
||||
};
|
||||
|
||||
# Require networking
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Python NTP library";
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
ntplib = callPackage ../development/python-modules/ntplib { };
|
||||
|
||||
numba = callPackage ../development/python-modules/numba { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user