From 20d24d0b15dfb24975d88b0a19b2a7ecea624705 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 2 Nov 2020 19:33:35 +0100 Subject: [PATCH] python3Packages.pyserial-asyncio: propagate pyserial Fixes errors like this: ERROR: Could not find a version that satisfies the requirement pyserial (from pyserial-asyncio>=0.4->pysml==0.0.2) (from versions: none) --- pkgs/development/python-modules/pyserial-asyncio/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyserial-asyncio/default.nix b/pkgs/development/python-modules/pyserial-asyncio/default.nix index c299ad8acae..cf90275cd19 100644 --- a/pkgs/development/python-modules/pyserial-asyncio/default.nix +++ b/pkgs/development/python-modules/pyserial-asyncio/default.nix @@ -7,13 +7,13 @@ buildPythonPackage rec { disabled = !isPy3k; # Doesn't support python older than 3.4 - buildInputs = [ pyserial ]; - src = fetchPypi { inherit pname version; sha256 = "1vlsb0d03krxlj7vpvyhpinnyxyy8s3lk5rs8ba2932dhyl7f1n4"; }; + propagatedBuildInputs = [ pyserial ]; + meta = with stdenv.lib; { description = "asyncio extension package for pyserial"; homepage = "https://github.com/pyserial/pyserial-asyncio";