Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / rachiopy / default.nix
blobccd1f9aef64d38304616db5eb4ac44deced275a8
1 { lib
2 , requests
3 , buildPythonPackage
4 , fetchFromGitHub
5 , jsonschema
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "rachiopy";
11   version = "1.0.3";
13   src = fetchFromGitHub {
14     owner = "rfverbruggen";
15     repo = pname;
16     rev = version;
17     sha256 = "1d5v9qc7ymzns3ivc5fzwxnxz9sjkhklh57cw05va95mpk5kdskc";
18   };
20   propagatedBuildInputs = [ requests ];
22   nativeCheckInputs = [
23     jsonschema
24     pytestCheckHook
25   ];
27   pythonImportsCheck = [ "rachiopy" ];
29   meta = with lib; {
30     description = "Python client for Rachio Irrigation controller";
31     homepage = "https://github.com/rfverbruggen/rachiopy";
32     license = with licenses; [ mit ];
33     maintainers = with maintainers; [ fab ];
34   };