depot/third_party/nixpkgs/pkgs/development/python-modules/pychannels/default.nix
Default email 3e2acf8aff Project import generated by Copybara.
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
2021-05-20 18:08:51 -05:00

30 lines
678 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
pname = "pychannels";
version = "1.2.3";
src = fetchFromGitHub {
owner = "fancybits";
repo = pname;
rev = version;
sha256 = "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 ];
};
}