depot/third_party/nixpkgs/pkgs/development/python-modules/dyn/default.nix
Default email 21cecf6002 Project import generated by Copybara.
GitOrigin-RevId: dd14e5d78e90a2ccd6007e569820de9b4861a6c2
2021-07-24 08:14:16 -04:00

32 lines
709 B
Nix

{ lib, buildPythonPackage, fetchPypi, pytest, pytest-cov, mock
, pytest-xdist, covCore, glibcLocales }:
buildPythonPackage rec {
pname = "dyn";
version = "1.8.1";
src = fetchPypi {
inherit pname version;
sha256 = "e112149d48b4500c18b3cfb6e0e6e780bb5aa0e56ff87cac412280200b9ec8bf";
};
buildInputs = [ glibcLocales ];
checkInputs = [
pytest
pytest-cov
mock
pytest-xdist
covCore
];
# Disable checks because they are not stateless and require internet access.
doCheck = false;
LC_ALL="en_US.UTF-8";
meta = with lib; {
description = "Dynect dns lib";
homepage = "https://dyn.readthedocs.org/en/latest/intro.html";
license = licenses.bsd3;
};
}