about summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-01-22 09:41:59 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2021-01-22 09:41:59 +0100
commit7581c226160b0274278e055ed08bca8f01d4c517 (patch)
tree39fccff9cf2b072030531092cd11bdda7f58fbda /pkgs/development/python-modules
parent038ab72940d4eac766e3fb1cb1e06ee9322c8a89 (diff)
downloadnixlib-7581c226160b0274278e055ed08bca8f01d4c517.tar
nixlib-7581c226160b0274278e055ed08bca8f01d4c517.tar.gz
nixlib-7581c226160b0274278e055ed08bca8f01d4c517.tar.bz2
nixlib-7581c226160b0274278e055ed08bca8f01d4c517.tar.lz
nixlib-7581c226160b0274278e055ed08bca8f01d4c517.tar.xz
nixlib-7581c226160b0274278e055ed08bca8f01d4c517.tar.zst
nixlib-7581c226160b0274278e055ed08bca8f01d4c517.zip
python3Packages.bsblan: init at 0.4.1
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/bsblan/default.nix53
1 files changed, 53 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/bsblan/default.nix b/pkgs/development/python-modules/bsblan/default.nix
new file mode 100644
index 000000000000..f670bebc8ed3
--- /dev/null
+++ b/pkgs/development/python-modules/bsblan/default.nix
@@ -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 ];
+  };
+}