mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
34 lines
744 B
Nix
34 lines
744 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestcov, mock, pytestpep8
|
|
, pytest_xdist, covCore, glibcLocales }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dyn";
|
|
version = "1.8.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "e112149d48b4500c18b3cfb6e0e6e780bb5aa0e56ff87cac412280200b9ec8bf";
|
|
};
|
|
|
|
buildInputs = [ glibcLocales ];
|
|
|
|
checkInputs = [
|
|
pytest
|
|
pytestcov
|
|
mock
|
|
pytestpep8
|
|
pytest_xdist
|
|
covCore
|
|
];
|
|
# Disable checks because they are not stateless and require internet access.
|
|
doCheck = false;
|
|
|
|
LC_ALL="en_US.UTF-8";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Dynect dns lib";
|
|
homepage = "https://dyn.readthedocs.org/en/latest/intro.html";
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|