mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
0215034f25
when they already rely on SRI hashes.
35 lines
651 B
Nix
35 lines
651 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pyserial
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aioserial";
|
|
version = "1.3.1";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-cCvwOw64S47y2NrFy5JeHmhdzpj3exJVabxv0rO1gig=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
pyserial
|
|
];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "aioserial" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python module for async serial communication";
|
|
homepage = "https://github.com/changyuheng/aioserial";
|
|
license = licenses.mpl20;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|