Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pyflick / default.nix
blobb6a9c2cf96d4604eb6cdabfb27eaee3f6e30213e
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchPypi
5 , aiohttp
6 , python-dateutil
7 }:
9 buildPythonPackage rec {
10   pname = "pyflick";
11   version = "0.0.2";
13   disabled = pythonOlder "3.6";
15   src = fetchPypi {
16     pname = "PyFlick";
17     inherit version;
18     sha256 = "705c82d8caedfff19117c8859cc1b4f56e15ab8dbc0d64d63b79d8634007897f";
19   };
21   propagatedBuildInputs = [
22     aiohttp
23     python-dateutil
24   ];
26   # no tests implemented
27   doCheck = false;
29   pythonImportsCheck = [
30     "pyflick"
31     "pyflick.authentication"
32   ];
34   meta = with lib; {
35     description = "Python API For Flick Electric in New Zealand";
36     homepage = "https://github.com/ZephireNZ/PyFlick";
37     license = licenses.mit;
38     maintainers = with maintainers; [ dotlambda ];
39   };