about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pychannels/default.nix
blob: d498fba21c2ef86f0170f726df902ee60bd64383 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
}:

buildPythonPackage rec {
  pname = "pychannels";
  version = "1.2.3";

  src = fetchFromGitHub {
    owner = "fancybits";
    repo = pname;
    rev = version;
    hash = "sha256-E+VL4mJ2KxS5bJZc3Va+wvyVjT55LJz+1wHkxDRa85s=";
  };

  propagatedBuildInputs = [ requests ];

  # Project has not published tests yet
  doCheck = false;
  pythonImportsCheck = [ "pychannels" ];

  meta = with lib; {
    description = "Python library for interacting with the Channels app";
    homepage = "https://github.com/fancybits/pychannels";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}