depot/third_party/nixpkgs/pkgs/development/python-modules/youless-api/default.nix
Default email 88abffb7d2 Project import generated by Copybara.
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
2021-09-18 12:52:07 +02:00

48 lines
815 B
Nix

{ lib
, buildPythonPackage
, fetchFromBitbucket
, pythonOlder
, certifi
, chardet
, idna
, nose
, requests
, six
, urllib3
}:
buildPythonPackage rec {
pname = "youless-api";
version = "0.13";
disabled = pythonOlder "3.7";
src = fetchFromBitbucket {
owner = "jongsoftdev";
repo = "youless-python-bridge";
rev = version;
sha256 = "sha256-Vywzd8wZG4eI/U69fPYuLpF54zAeuCv3Q81z5UcMGjc=";
};
propagatedBuildInputs = [
certifi
chardet
idna
requests
six
urllib3
];
checkInputs = [
nose
];
pythonImportsCheck = [ "youless_api" ];
meta = with lib; {
description = "Python library for YouLess sensors";
homepage = "https://pypi.org/project/youless-api/";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}