Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
python.pkgs.pycares: 2.4.0 -> 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Schütz committed Mar 19, 2019
1 parent 5c52dcf commit 99cd4a1
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions pkgs/development/python-modules/pycares/default.nix
Original file line number Diff line number Diff line change
@@ -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; {
Expand Down

0 comments on commit 99cd4a1

Please sign in to comment.