Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 744 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestcov, mock, pytestpep8 2, pytest_xdist, covCore, glibcLocales }: 3 4buildPythonPackage rec { 5 pname = "dyn"; 6 version = "1.8.1"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "e112149d48b4500c18b3cfb6e0e6e780bb5aa0e56ff87cac412280200b9ec8bf"; 11 }; 12 13 buildInputs = [ glibcLocales ]; 14 15 checkInputs = [ 16 pytest 17 pytestcov 18 mock 19 pytestpep8 20 pytest_xdist 21 covCore 22 ]; 23 # Disable checks because they are not stateless and require internet access. 24 doCheck = false; 25 26 LC_ALL="en_US.UTF-8"; 27 28 meta = with stdenv.lib; { 29 description = "Dynect dns lib"; 30 homepage = "https://dyn.readthedocs.org/en/latest/intro.html"; 31 license = licenses.bsd3; 32 }; 33}