Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / youless-api / default.nix
blob3fc465d9bad10f06cf892ee2683a98383a9e56da
1 { lib
2 , buildPythonPackage
3 , fetchFromBitbucket
4 , pythonOlder
5 , certifi
6 , chardet
7 , idna
8 , nose
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     nose
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   };