python3Packages.asyncserial: unstable-2022-06-10 -> 1.0

R. Ryantm d876fdba 559268ac

Changed files
+12 -9
pkgs
development
python-modules
asyncserial
+12 -9
pkgs/development/python-modules/asyncserial/default.nix
···
lib,
buildPythonPackage,
fetchFromGitHub,
+
setuptools,
pyserial,
}:
-
buildPythonPackage {
+
buildPythonPackage rec {
pname = "asyncserial";
-
version = "unstable-2022-06-10";
-
format = "setuptools";
+
version = "1.0";
+
pyproject = true;
src = fetchFromGitHub {
owner = "m-labs";
repo = "asyncserial";
-
rev = "446559fec892a556876b17d17f182ae9647d5952";
-
hash = "sha256-WExmgh55sTH2w7wV3i96J1F1FN7L5rX3L/Ayvt2Kw/g=";
+
tag = version;
+
hash = "sha256-ZHzgJnbsDVxVcp09LXq9JZp46+dorgdP8bAiTB59K28=";
};
-
propagatedBuildInputs = [ pyserial ];
+
build-system = [ setuptools ];
+
+
dependencies = [ pyserial ];
pythonImportsCheck = [ "asyncserial" ];
-
meta = with lib; {
+
meta = {
description = "asyncio support for pyserial";
homepage = "https://github.com/m-labs/asyncserial";
-
license = licenses.bsd2;
-
maintainers = with maintainers; [ doronbehar ];
+
license = lib.licenses.bsd2;
+
maintainers = with lib.maintainers; [ doronbehar ];
};
}