2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
buildPythonPackage,
|
|
|
|
pythonOlder,
|
|
|
|
fetchPypi,
|
|
|
|
h11,
|
|
|
|
sansio-multipart,
|
2022-06-16 17:23:12 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
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 = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Overly configurable http server for client testing";
|
2022-06-16 17:23:12 +00:00
|
|
|
homepage = "https://github.com/theelous3/overly";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
2024-06-05 15:53:02 +00:00
|
|
|
broken = stdenv.isDarwin; # https://github.com/theelous3/overly/issues/2
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
}
|