2021-07-24 12:14:16 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytest, pytest-cov, mock
|
|
|
|
, pytest-xdist, covCore, glibcLocales }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dyn";
|
|
|
|
version = "1.8.1";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "e112149d48b4500c18b3cfb6e0e6e780bb5aa0e56ff87cac412280200b9ec8bf";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ glibcLocales ];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytest
|
2021-07-24 12:14:16 +00:00
|
|
|
pytest-cov
|
2020-04-24 23:36:52 +00:00
|
|
|
mock
|
2021-07-24 12:14:16 +00:00
|
|
|
pytest-xdist
|
2020-04-24 23:36:52 +00:00
|
|
|
covCore
|
|
|
|
];
|
|
|
|
# Disable checks because they are not stateless and require internet access.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
LC_ALL="en_US.UTF-8";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Dynect dns lib";
|
|
|
|
homepage = "https://dyn.readthedocs.org/en/latest/intro.html";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|