pythonPackages.pyhaversion: py3k only

This commit is contained in:
makefu 2020-09-09 18:11:17 +02:00
parent 467dcc5b75
commit b30dfc4f4b
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
# propagatedBuildInputs
, aiohttp
, async-timeout
@ -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";