Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pysaj / default.nix
blob15f8dd0fccf073e655b45afabc95c9b5a4f902b5
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchFromGitHub
5 , lxml
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "pysaj";
11   version = "0.0.16";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "fredericvl";
18     repo = pname;
19     rev = "v${version}";
20     hash = "sha256-7mN6GPRbXfEUfCrCrCs71SSt4x2Ch2y3a5rfXnuwVA0=";
21   };
23   propagatedBuildInputs = [
24     aiohttp
25     lxml
26   ];
28   # Module has no tests
29   doCheck = false;
31   pythonImportsCheck = [
32     "pysaj"
33   ];
35   meta = with lib; {
36     description = "Library to communicate with SAJ inverters";
37     homepage = "https://github.com/fredericvl/pysaj";
38     license = with licenses; [ asl20 ];
39     maintainers = with maintainers; [ fab ];
40   };