ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pyflume / default.nix
blobcb02243676a5b05fd17c15adeea20cce3d50bcd0
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 , pyjwt
7 , ratelimit
8 , pytz
9 , requests
10 , requests-mock
13 buildPythonPackage rec {
14   pname = "pyflume";
15   version = "0.7.1";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "ChrisMandich";
20     repo = "PyFlume";
21     rev = "v${version}";
22     sha256 = "sha256-Ka90n9Esv6tm310DjYeosBUhudeVoEJzt45L40+0GwQ=";
23   };
25   propagatedBuildInputs = [
26     pyjwt
27     ratelimit
28     pytz
29     requests
30   ];
32   checkInputs = [
33     requests-mock
34     pytestCheckHook
35   ];
37   pythonImportsCheck = [ "pyflume" ];
39   meta = with lib; {
40     description = "Python module to work with Flume sensors";
41     homepage = "https://github.com/ChrisMandich/PyFlume";
42     license = with licenses; [ mit ];
43     maintainers = with maintainers; [ fab ];
44   };