python.pkgs.pycares: 2.4.0 -> 3.0.0
This commit is contained in:
parent
5c52dcf1d9
commit
99cd4a1063
1 changed files with 13 additions and 5 deletions
|
@ -1,21 +1,29 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pkgs
|
||||
, python
|
||||
, c-ares
|
||||
, cffi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pycares";
|
||||
version = "2.4.0";
|
||||
version = "3.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "15pwsxsj1nr33n6x2918bfbzdnqv1qkwd2d5jgvxsm81zxnvgk0f";
|
||||
sha256 = "b253f5dcaa0ac7076b79388a3ac80dd8f3bd979108f813baade40d3a9b8bf0bd";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pkgs.c-ares ];
|
||||
buildInputs = [ c-ares ];
|
||||
|
||||
# No tests included
|
||||
propagatedBuildInputs = [ cffi ];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} tests/tests.py
|
||||
'';
|
||||
|
||||
# requires network access
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue