diff options
| author | Ryan Trinkle <ryan.trinkle@gmail.com> | 2017-11-03 10:53:00 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-03 10:53:00 -0400 |
| commit | ded1281f4519bfdeea6c79eb6857f00619d9859d (patch) | |
| tree | 0562858f7368f6e9ae65a730d2e4ea750d40f31e /pkgs/development/python-modules/httpserver | |
| parent | dce2c258ac33ee1cd3b3e852b36e1d8fa11f33a1 (diff) | |
| parent | 74260a4922e678348eac91f4aa5767a3f5a039a4 (diff) | |
Merge branch 'master' into docker-dirlinks
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 ]; + }; +} |
