depot/third_party/nixpkgs/pkgs/development/python-modules/pyipp/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

45 lines
820 B
Nix

{ lib
, aiohttp
, aresponses
, buildPythonPackage
, deepmerge
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pytest-cov
, yarl
}:
buildPythonPackage rec {
pname = "pyipp";
version = "0.11.0";
src = fetchFromGitHub {
owner = "ctalkington";
repo = "python-ipp";
rev = version;
sha256 = "0ar3mkyfa9qi3av3885bvacpwlxh420if9ymdj8i4x06ymzc213d";
};
propagatedBuildInputs = [
aiohttp
deepmerge
yarl
];
checkInputs = [
aresponses
pytest-asyncio
pytest-cov
pytestCheckHook
];
pythonImportsCheck = [ "pyipp" ];
meta = with lib; {
description = "Asynchronous Python client for Internet Printing Protocol (IPP)";
homepage = "https://github.com/ctalkington/python-ipp";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}