pythonPackages.httpserver: init at 1.1.0
This commit is contained in:
parent
d46e78ed0f
commit
5db271c99a
27
pkgs/development/python-modules/httpserver/default.nix
Normal file
27
pkgs/development/python-modules/httpserver/default.nix
Normal file
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -2945,6 +2945,8 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
httpserver = callPackage ../development/python-modules/httpserver {};
|
||||||
|
|
||||||
bleach = buildPythonPackage rec {
|
bleach = buildPythonPackage rec {
|
||||||
pname = "bleach";
|
pname = "bleach";
|
||||||
version = "2.0.0";
|
version = "2.0.0";
|
||||||
|
Loading…
Reference in New Issue
Block a user