summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/httpserver
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
-rw-r--r--pkgs/development/python-modules/httpserver/default.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/httpserver/default.nix b/pkgs/development/python-modules/httpserver/default.nix
index 58d6c48c4e8a..9b65a6341ced 100644
--- a/pkgs/development/python-modules/httpserver/default.nix
+++ b/pkgs/development/python-modules/httpserver/default.nix
@@ -1,4 +1,9 @@
-{ lib, fetchPypi, buildPythonPackage, docopt, pythonOlder }:
+{
+ lib,
+ fetchPypi,
+ buildPythonPackage,
+ docopt,
+}:
buildPythonPackage rec {
pname = "httpserver";
@@ -11,9 +16,6 @@ buildPythonPackage rec {
# drivers.
doCheck = false;
- # Because it uses asyncio
- disabled = pythonOlder "3.4";
-
src = fetchPypi {
inherit pname version;
sha256 = "1q62g324dvb0hqdwwrnj41sqr4d3ly78v9nc26rz1whj4pwdmhsv";
@@ -21,6 +23,7 @@ buildPythonPackage rec {
meta = {
description = "Asyncio implementation of an HTTP server";
+ mainProgram = "httpserver";
homepage = "https://github.com/thomwiggers/httpserver";
license = with lib.licenses; [ bsd3 ];
};