Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / connio / default.nix
blob14574ab9da33186be6f2c95d89a9a0b6251f22c4
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 , serialio
7 , sockio
8 }:
10 buildPythonPackage rec {
11   pname = "connio";
12   version = "0.2.0";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "tiagocoutinho";
19     repo = pname;
20     rev = "refs/tags/v${version}";
21     hash = "sha256-fPM7Ya69t0jpZhKM2MTk6BwjvoW3a8SV3k000LB9Ypo=";
22   };
24   propagatedBuildInputs = [
25     serialio
26     sockio
27   ];
29   # Module has no tests
30   doCheck = false;
32   pythonImportsCheck = [
33     "connio"
34   ];
36   meta = with lib; {
37     description = "Library for concurrency agnostic communication";
38     homepage = "https://github.com/tiagocoutinho/connio";
39     license = with licenses; [ gpl3Plus ];
40     maintainers = with maintainers; [ fab ];
41   };