-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythonPackages.httpserver: init at 1.1.0
- Loading branch information
1 parent
d46e78e
commit 5db271c
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters