mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:14:10 +00:00
43 lines
794 B
Nix
43 lines
794 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, serialio
|
|
, sockio
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "connio";
|
|
version = "0.2.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tiagocoutinho";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-fPM7Ya69t0jpZhKM2MTk6BwjvoW3a8SV3k000LB9Ypo=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
serialio
|
|
sockio
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"connio"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Library for concurrency agnostic communication";
|
|
homepage = "https://github.com/tiagocoutinho/connio";
|
|
license = with licenses; [ gpl3Plus ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|