1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 requests,
6}:
7
8buildPythonPackage rec {
9 pname = "pychannels";
10 version = "1.2.3";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "fancybits";
15 repo = "pychannels";
16 rev = version;
17 hash = "sha256-E+VL4mJ2KxS5bJZc3Va+wvyVjT55LJz+1wHkxDRa85s=";
18 };
19
20 propagatedBuildInputs = [ requests ];
21
22 # Project has not published tests yet
23 doCheck = false;
24 pythonImportsCheck = [ "pychannels" ];
25
26 meta = with lib; {
27 description = "Python library for interacting with the Channels app";
28 homepage = "https://github.com/fancybits/pychannels";
29 license = with licenses; [ mit ];
30 maintainers = with maintainers; [ fab ];
31 };
32}