summary refs log tree commit diff
path: root/pkgs/development/python-modules/aiohttp-remotes
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2018-10-26 14:00:23 +0000
committerAlyssa Ross <hi@alyssa.is>2018-10-31 13:08:40 +0000
commitcd1ff3beded0ca8fcb7afd63df83ba0df1ee3eb4 (patch)
tree2a3c2cde84b0e1c44c31dc17ee295ea3b8f36c4d /pkgs/development/python-modules/aiohttp-remotes
parenta586c14cc436b01673af2738b702dbcea18fc123 (diff)
downloadnixpkgs-cd1ff3beded0ca8fcb7afd63df83ba0df1ee3eb4.tar
nixpkgs-cd1ff3beded0ca8fcb7afd63df83ba0df1ee3eb4.tar.gz
nixpkgs-cd1ff3beded0ca8fcb7afd63df83ba0df1ee3eb4.tar.bz2
nixpkgs-cd1ff3beded0ca8fcb7afd63df83ba0df1ee3eb4.tar.lz
nixpkgs-cd1ff3beded0ca8fcb7afd63df83ba0df1ee3eb4.tar.xz
nixpkgs-cd1ff3beded0ca8fcb7afd63df83ba0df1ee3eb4.tar.zst
nixpkgs-cd1ff3beded0ca8fcb7afd63df83ba0df1ee3eb4.zip
python3Packages.aiohttp_remotes: init at 0.1.2
Diffstat (limited to 'pkgs/development/python-modules/aiohttp-remotes')
-rw-r--r--pkgs/development/python-modules/aiohttp-remotes/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aiohttp-remotes/default.nix b/pkgs/development/python-modules/aiohttp-remotes/default.nix
new file mode 100644
index 00000000000..51120d07121
--- /dev/null
+++ b/pkgs/development/python-modules/aiohttp-remotes/default.nix
@@ -0,0 +1,34 @@
+{ lib, fetchpatch, buildPythonPackage, fetchPypi
+, aiohttp, pytest, pytestcov, pytest-aiohttp
+}:
+
+buildPythonPackage rec {
+  pname = "aiohttp_remotes";
+  version = "0.1.2";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "43c3f7e1c5ba27f29fb4dbde5d43b900b5b5fc7e37bf7e35e6eaedabaec4a3fc";
+  };
+
+  patches = [
+    (fetchpatch {
+      url = https://github.com/aio-libs/aiohttp-remotes/commit/188772abcea038c31dae7d607e487eeed44391bc.patch;
+      sha256 = "0pb1y4jb8ar1szhnjiyj2sdmdk6z9h6c3wrxw59nv9kr3if5igvs";
+    })
+  ];
+
+  propagatedBuildInputs = [ aiohttp ];
+
+  checkInputs = [ pytest pytestcov pytest-aiohttp ];
+  checkPhase = ''
+    python -m pytest
+  '';
+
+  meta = with lib; {
+    homepage = https://github.com/wikibusiness/aiohttp-remotes;
+    description = "A set of useful tools for aiohttp.web server";
+    license = licenses.mit;
+    maintainers = [ maintainers.qyliss ];
+  };
+}