Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / youless-api / default.nix
blobff10359238b401183ae5cb262471d0a90201ff3a
1 { lib
2 , buildPythonPackage
3 , fetchFromBitbucket
4 , pythonOlder
5 , certifi
6 , chardet
7 , idna
8 , pynose
9 , requests
10 , urllib3
13 buildPythonPackage rec {
14   pname = "youless-api";
15   version = "1.0.1";
16   format = "setuptools";
18   disabled = pythonOlder "3.7";
20   src = fetchFromBitbucket {
21     owner = "jongsoftdev";
22     repo = "youless-python-bridge";
23     rev = version;
24     hash = "sha256-49/HmkGr87aDhr8GEtARpXvr2RcgmLdAqhvMLI5x+vQ=";
25   };
27   propagatedBuildInputs = [
28     certifi
29     chardet
30     idna
31     requests
32     urllib3
33   ];
35   nativeCheckInputs = [
36     pynose
37   ];
39   pythonImportsCheck = [
40     "youless_api"
41   ];
43   meta = with lib; {
44     description = "Python library for YouLess sensors";
45     homepage = "https://pypi.org/project/youless-api/";
46     license = with licenses; [ mit ];
47     maintainers = with maintainers; [ fab ];
48   };