mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
python3Packages.crownstone-cloud: init at 1.4.5
This commit is contained in:
parent
ca2ece2bd4
commit
d1b2e3b0e8
50
pkgs/development/python-modules/crownstone-cloud/default.nix
Normal file
50
pkgs/development/python-modules/crownstone-cloud/default.nix
Normal file
|
@ -0,0 +1,50 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, asynctest
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, certifi
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "crownstone-cloud";
|
||||
version = "1.4.5";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "crownstone";
|
||||
repo = "crownstone-lib-python-cloud";
|
||||
rev = "v${version}";
|
||||
sha256 = "1a8bkqkrc7iyggr5rr20qdqg67sycdx2d94dd1ylkmr7627r34ys";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
asynctest
|
||||
certifi
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "codecov>=2.1.10" ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"crownstone_cloud"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module for communicating with Crownstone Cloud and devices";
|
||||
homepage = "https://github.com/crownstone/crownstone-lib-python-cloud";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -1739,6 +1739,8 @@ in {
|
|||
|
||||
croniter = callPackage ../development/python-modules/croniter { };
|
||||
|
||||
crownstone-cloud = callPackage ../development/python-modules/crownstone-cloud { };
|
||||
|
||||
cryptacular = callPackage ../development/python-modules/cryptacular { };
|
||||
|
||||
cryptography = callPackage ../development/python-modules/cryptography {
|
||||
|
|
Loading…
Reference in a new issue