Skip to content

Commit

Permalink
pythonPackages.pyhaversion: py3k only
Browse files Browse the repository at this point in the history
(cherry picked from commit b30dfc4)
  • Loading branch information
makefu authored and Mic92 committed Sep 9, 2020
1 parent f053f1c commit 46f14c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/python-modules/pyhaversion/default.nix
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
# propagatedBuildInputs
, aiohttp
, async-timeout
Expand All @@ -15,6 +16,9 @@ buildPythonPackage rec {
pname = "pyhaversion";
version = "3.3.0";

# needs aiohttp which is py3k-only
disabled = !isPy3k;

src = fetchPypi {
inherit pname version;
sha256 = "376a1b232a26035bc82d64affa1c4f312d782234fe5453e8d0f9e1350a97be5b";
Expand Down

0 comments on commit 46f14c8

Please sign in to comment.