linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / pyflume / default.nix
bloba1d36670a396b756e057a83307c758acdc6d16a2
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.6.2";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "ChrisMandich";
20     repo = "PyFlume";
21     rev = "v${version}";
22     sha256 = "0i181c8722j831bjlcjwv5ccy20hl8zzlv7bfp8w0976gdmv4iz8";
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   };