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