2021-07-20 20:42:24 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytest, pytest-cov, mock
|
2021-07-20 21:08:56 +00:00
|
|
|
, pytest-xdist, covCore, glibcLocales }:
|
2017-09-14 01:43:26 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dyn";
|
2023-03-25 01:51:37 +00:00
|
|
|
version = "1.8.6";
|
2017-09-14 01:43:26 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-25 01:51:37 +00:00
|
|
|
sha256 = "sha256-933etYrKRgSqJfOMIuIDL4Uv4/RdSEFMNWFtW5qiPpA=";
|
2017-09-14 01:43:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ glibcLocales ];
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [
|
2017-09-14 01:43:26 +00:00
|
|
|
pytest
|
2021-07-20 20:42:24 +00:00
|
|
|
pytest-cov
|
2017-09-14 01:43:26 +00:00
|
|
|
mock
|
2021-07-20 21:08:56 +00:00
|
|
|
pytest-xdist
|
2017-09-14 01:43:26 +00:00
|
|
|
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 01:43:26 +00:00
|
|
|
description = "Dynect dns lib";
|
2019-04-22 08:24:21 +00:00
|
|
|
homepage = "https://dyn.readthedocs.org/en/latest/intro.html";
|
2017-09-14 01:43:26 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|