mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
32 lines
625 B
Nix
32 lines
625 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, six, h2
|
|
, isPy3k
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "wptserve";
|
|
version = "2.0";
|
|
|
|
disabled = isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "9d0c6adc279748abea81ac12b7a2cac97ebbdd87826dc11f6dbd85b781e9442a";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace setup.py --replace "h2==" "h2>="
|
|
'';
|
|
|
|
propagatedBuildInputs = [ six h2 ];
|
|
|
|
meta = {
|
|
description = "A webserver intended for web browser testing";
|
|
homepage = "https://wptserve.readthedocs.org/";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ raskin ];
|
|
};
|
|
}
|