about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/webtest-aiohttp
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2021-06-30 13:44:37 +0000
committerAlyssa Ross <hi@alyssa.is>2021-06-30 13:44:37 +0000
commit16f676d6bbd4f930b0017ccb20cebe5a29e17545 (patch)
tree0d554b4f16bdef502035b743457fc29ffcc5e7f7 /nixpkgs/pkgs/development/python-modules/webtest-aiohttp
parente7caacc4c122b7641bb66a4c2595289347a4996c (diff)
parent3a8d7958a610cd3fec3a6f424480f91a1b259185 (diff)
downloadnixlib-16f676d6bbd4f930b0017ccb20cebe5a29e17545.tar
nixlib-16f676d6bbd4f930b0017ccb20cebe5a29e17545.tar.gz
nixlib-16f676d6bbd4f930b0017ccb20cebe5a29e17545.tar.bz2
nixlib-16f676d6bbd4f930b0017ccb20cebe5a29e17545.tar.lz
nixlib-16f676d6bbd4f930b0017ccb20cebe5a29e17545.tar.xz
nixlib-16f676d6bbd4f930b0017ccb20cebe5a29e17545.tar.zst
nixlib-16f676d6bbd4f930b0017ccb20cebe5a29e17545.zip
Merge commit '3a8d7958a610cd3fec3a6f424480f91a1b259185'
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/webtest-aiohttp')
-rw-r--r--nixpkgs/pkgs/development/python-modules/webtest-aiohttp/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/webtest-aiohttp/default.nix b/nixpkgs/pkgs/development/python-modules/webtest-aiohttp/default.nix
new file mode 100644
index 000000000000..7c6e3589600d
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/webtest-aiohttp/default.nix
@@ -0,0 +1,29 @@
+{ buildPythonPackage, fetchFromGitHub, lib, isPy27, webtest, invoke, flake8
+, aiohttp, pytest-aiohttp, pytestCheckHook }:
+
+buildPythonPackage rec {
+  pname = "webtest-aiohttp";
+  version = "2.0.0";
+  disabled = isPy27;
+
+  src = fetchFromGitHub {
+    owner = "sloria";
+    repo = pname;
+    rev = version;
+    sha256 = "1apr1x0wmnc6l8wv67z4dp00fiiygda6rwpxlspfk7nk9zz37q2j";
+  };
+
+  pythonImportsCheck = [
+    "webtest_aiohttp"
+  ];
+
+  propagatedBuildInputs = [ webtest ];
+  checkInputs = [ invoke flake8 aiohttp pytest-aiohttp pytestCheckHook ];
+
+  meta = with lib; {
+    description = "Provides integration of WebTest with aiohttp.web applications";
+    homepage = "https://github.com/sloria/webtest-aiohttp";
+    license = licenses.mit;
+    maintainers = with maintainers; [ cript0nauta ];
+  };
+}