2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytest, pytestcov, mock
|
2017-09-14 02:43:26 +01:00
|
|
|
, pytest_xdist, covCore, glibcLocales }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dyn";
|
2018-01-07 08:00:28 +00:00
|
|
|
version = "1.8.1";
|
2017-09-14 02:43:26 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-01-07 08:00:28 +00:00
|
|
|
sha256 = "e112149d48b4500c18b3cfb6e0e6e780bb5aa0e56ff87cac412280200b9ec8bf";
|
2017-09-14 02:43:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ glibcLocales ];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytest
|
|
|
|
pytestcov
|
|
|
|
mock
|
|
|
|
pytest_xdist
|
|
|
|
covCore
|
|
|
|
];
|
|
|
|
# Disable checks because they are not stateless and require internet access.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
LC_ALL="en_US.UTF-8";
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-09-14 02:43:26 +01:00
|
|
|
description = "Dynect dns lib";
|
2019-04-22 09:24:21 +01:00
|
|
|
homepage = "https://dyn.readthedocs.org/en/latest/intro.html";
|
2017-09-14 02:43:26 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|