ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pyoctoprintapi / default.nix
blobda3ebac2c1e2399688e84f45f11d07646bcb84c1
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
5 # propagated
6 , aiohttp
8 # tests
9 , pytest-asyncio
10 , pytestCheckHook
13 let
14   pname = "pyoctoprintapi";
15   version = "0.1.9";
17 buildPythonPackage {
18   inherit pname version;
19   format = "setuptools";
21   src = fetchFromGitHub {
22     owner = "rfleming71";
23     repo = pname;
24     rev = "refs/tags/v${version}";
25     hash = "sha256-kZMTHw0S12aUn/DYQuyjQa48QtiwLGYyY4gYKA5063A=";
26   };
28   propagatedBuildInputs = [
29     aiohttp
30   ];
32   pythonImportsCheck = [
33     "pyoctoprintapi"
34   ];
36   checkInputs = [
37     pytest-asyncio
38     pytestCheckHook
39   ];
41   meta = with lib; {
42     description = "Simple async wrapper around the Octoprint API";
43     homepage = "https://github.com/rfleming71/pyoctoprintapi";
44     license = licenses.mit;
45     maintainers= with maintainers; [ hexa ];
46   };