diff options
| author | Robin Gloster <mail@glob.in> | 2017-05-20 13:57:49 +0200 |
|---|---|---|
| committer | Robin Gloster <mail@glob.in> | 2017-05-20 14:55:44 +0200 |
| commit | da9adb8fab40a3dd86d6cfcbd103657ca98e5a48 (patch) | |
| tree | 25c6af6c8753a49d4774eb901d9696ccefa9d461 /pkgs/development/python-modules/httpserver | |
| parent | 9beb44fb84fa579edcbdb9089facce25248bac02 (diff) | |
| parent | c9f3893451103c52e70566a5d043ab5e35014e6c (diff) | |
Merge remote-tracking branch 'upstream/master' into gcc-6
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
| -rw-r--r-- | pkgs/development/python-modules/httpserver/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/httpserver/default.nix b/pkgs/development/python-modules/httpserver/default.nix new file mode 100644 index 000000000000..0e4ae14acd76 --- /dev/null +++ b/pkgs/development/python-modules/httpserver/default.nix @@ -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 ]; + }; +} |
