Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pychannels / default.nix
blob0c5e290334da1e7153c5c8c8cf7252430ed2524b
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , requests
5 }:
7 buildPythonPackage rec {
8   pname = "pychannels";
9   version = "1.2.2";
11   src = fetchFromGitHub {
12     owner = "fancybits";
13     repo = pname;
14     rev = version;
15     sha256 = "0dqc0vhf6c5r3g7nfbpa668x6z2zxrznk6h907s6sxkq4sbqnhqf";
16   };
18   propagatedBuildInputs = [ requests ];
20   # Project has not published tests yet
21   doCheck = false;
22   pythonImportsCheck = [ "pychannels" ];
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   };