Files
nixpkgs/pkgs/development/python-modules/dyn/default.nix
T
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

34 lines
727 B
Nix

{ lib, buildPythonPackage, fetchPypi, pytest, pytest-cov, mock
, pytest-xdist, covCore, glibcLocales }:
buildPythonPackage rec {
pname = "dyn";
version = "1.8.6";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-933etYrKRgSqJfOMIuIDL4Uv4/RdSEFMNWFtW5qiPpA=";
};
buildInputs = [ glibcLocales ];
nativeCheckInputs = [
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;
};
}