python3Packages.bsblan: init at 0.4.1
This commit is contained in:
parent
038ab72940
commit
7581c22616
53
pkgs/development/python-modules/bsblan/default.nix
Normal file
53
pkgs/development/python-modules/bsblan/default.nix
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
, aresponses
|
||||||
|
, coverage
|
||||||
|
, mypy
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytest-cov
|
||||||
|
, pytest-mock
|
||||||
|
, aiohttp
|
||||||
|
, attrs
|
||||||
|
, cattrs
|
||||||
|
, yarl
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "bsblan";
|
||||||
|
version = "0.4.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "liudger";
|
||||||
|
repo = "python-bsblan";
|
||||||
|
rev = "v.${version}";
|
||||||
|
sha256 = "0vyg9vsrs34jahlav83qp2djv81p3ks31qz4qh46zdij2nx7l1fv";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
aiohttp
|
||||||
|
attrs
|
||||||
|
cattrs
|
||||||
|
yarl
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
aresponses
|
||||||
|
coverage
|
||||||
|
mypy
|
||||||
|
pytest-asyncio
|
||||||
|
pytest-cov
|
||||||
|
pytest-mock
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "bsblan" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python client for BSB-Lan";
|
||||||
|
homepage = "https://github.com/liudger/python-bsblan";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1046,6 +1046,8 @@ in {
|
||||||
|
|
||||||
bsdiff4 = callPackage ../development/python-modules/bsdiff4 { };
|
bsdiff4 = callPackage ../development/python-modules/bsdiff4 { };
|
||||||
|
|
||||||
|
bsblan = callPackage ../development/python-modules/bsblan { };
|
||||||
|
|
||||||
btchip = callPackage ../development/python-modules/btchip { };
|
btchip = callPackage ../development/python-modules/btchip { };
|
||||||
|
|
||||||
bt_proximity = callPackage ../development/python-modules/bt-proximity { };
|
bt_proximity = callPackage ../development/python-modules/bt-proximity { };
|
||||||
|
|
Loading…
Reference in a new issue