Skip to content

Commit

Permalink
pythonPackages.httpserver: init at 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
P-E-Meunier authored and FRidh committed May 4, 2017
1 parent d46e78e commit 5db271c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pkgs/development/python-modules/httpserver/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ lib, fetchPypi, buildPythonPackage, docopt, pythonOlder }:

buildPythonPackage rec {
name = "${pname}-${version}";
pname = "httpserver";
version = "1.1.0";

buildInputs = [ docopt ];

# Tests pull in lots of other dependencies to emulate different web
# drivers.
doCheck = false;

# Because it uses asyncio
disabled = pythonOlder "3.4";

src = fetchPypi {
inherit pname version;
sha256 = "1q62g324dvb0hqdwwrnj41sqr4d3ly78v9nc26rz1whj4pwdmhsv";
};

meta = {
description = "Asyncio implementation of an HTTP server";
homepage = https://github.com/thomwiggers/httpserver;
license = with lib.licenses; [ bsd3 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2945,6 +2945,8 @@ in {
};
};

httpserver = callPackage ../development/python-modules/httpserver {};

bleach = buildPythonPackage rec {
pname = "bleach";
version = "2.0.0";
Expand Down

0 comments on commit 5db271c

Please sign in to comment.