2022-06-21 00:19:25 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
2018-03-31 15:17:55 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "bottle";
|
2022-06-21 00:19:25 +00:00
|
|
|
version = "0.12.21";
|
|
|
|
|
|
|
|
format = "setuptools";
|
2018-03-31 15:17:55 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-06-21 00:19:25 +00:00
|
|
|
sha256 = "787c61b6cc02b9c229bf2663011fac53dd8fc197f7f8ad2eeede29d888d7887e";
|
2018-03-31 15:17:55 +00:00
|
|
|
};
|
|
|
|
|
2022-06-21 00:19:25 +00:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
preCheck = ''
|
|
|
|
cd test
|
|
|
|
'';
|
|
|
|
|
|
|
|
disabledTests = [
|
|
|
|
"test_delete_cookie"
|
|
|
|
"test_error"
|
|
|
|
"test_error_in_generator_callback"
|
|
|
|
];
|
2018-03-31 15:17:55 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2022-06-21 00:19:25 +00:00
|
|
|
homepage = "https://bottlepy.org/";
|
2018-03-31 15:17:55 +00:00
|
|
|
description = "A fast and simple micro-framework for small web-applications";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ koral ];
|
|
|
|
};
|
|
|
|
}
|