My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/youless-api/default.nix

51 lines
846 B

{ lib
, buildPythonPackage
, fetchFromBitbucket
, pythonOlder
, certifi
, chardet
, idna
, nose
, requests
, six
, urllib3
}:
buildPythonPackage rec {
pname = "youless-api";
version = "0.16";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromBitbucket {
owner = "jongsoftdev";
repo = "youless-python-bridge";
rev = version;
sha256 = "sha256-8pJeb3eWchMRrk8KLSI/EbHs1wQDqBoqlAQXm9ulyqs=";
};
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 ];
};
}