aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/pytest-sanic
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/pytest-sanic')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/python-modules/pytest-sanic/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/pytest-sanic/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/pytest-sanic/default.nix
new file mode 100644
index 000000000000..0044a13d2c9a
--- /dev/null
+++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/pytest-sanic/default.nix
@@ -0,0 +1,33 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, pytest
+, aiohttp
+, async_generator
+}:
+
+buildPythonPackage rec {
+ pname = "pytest-sanic";
+ version = "1.6.2";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "6428ed8cc2e6cfa05b92689a8589149aacdc1f0640fcf9673211aa733e6a5209";
+ };
+
+ propagatedBuildInputs = [
+ pytest
+ aiohttp
+ async_generator
+ ];
+
+ # circular dependency on sanic
+ doCheck = false;
+
+ meta = with lib; {
+ description = "A pytest plugin for Sanic";
+ homepage = "https://github.com/yunstanford/pytest-sanic/";
+ license = licenses.asl20;
+ maintainers = [ maintainers.costrouc ];
+ };
+}