bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
41 lines
816 B
Nix
41 lines
816 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
fetchPypi,
|
|
h11,
|
|
sansio-multipart,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "overly";
|
|
version = "0.1.85";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "20a99526c7859acc859e87afd97b5c4916405e7477834f727b49210e478370cb";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
h11
|
|
sansio-multipart
|
|
];
|
|
|
|
# upstream has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "overly" ];
|
|
|
|
meta = {
|
|
description = "Overly configurable http server for client testing";
|
|
homepage = "https://github.com/theelous3/overly";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
broken = stdenv.isDarwin; # https://github.com/theelous3/overly/issues/2
|
|
};
|
|
}
|