depot/third_party/nixpkgs/pkgs/development/python-modules/toonapi/default.nix
Default email 1ae14203fc Project import generated by Copybara.
GitOrigin-RevId: 68398d2dd50efc2d878bf0f83bbc8bc323b6b0e0
2021-01-17 01:15:33 +01:00

36 lines
697 B
Nix

{ lib
, aiohttp
, backoff
, buildPythonPackage
, fetchFromGitHub
, yarl
}:
buildPythonPackage rec {
pname = "toonapi";
version = "0.2.0";
src = fetchFromGitHub {
owner = "frenck";
repo = "python-toonapi";
rev = "v${version}";
sha256 = "1d4n615vlcgkvmchrfjw4h3ndav3ljmcfydxr2b41zn83mzizqdf";
};
propagatedBuildInputs = [
aiohttp
backoff
yarl
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "toonapi" ];
meta = with lib; {
description = "Python client for the Quby ToonAPI";
homepage = "https://github.com/frenck/python-toonapi";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}