depot/third_party/nixpkgs/pkgs/development/python-modules/bottle/default.nix
Default email 5083ee08a2 Project import generated by Copybara.
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
2022-09-30 06:47:45 -05:00

38 lines
688 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "bottle";
version = "0.12.23";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-aD3jqjmfsm6HsnTbz3CxplE4XUWRMXFjh6vcN5LgQWc=";
};
checkInputs = [
pytestCheckHook
];
preCheck = ''
cd test
'';
disabledTests = [
"test_delete_cookie"
"test_error"
"test_error_in_generator_callback"
];
meta = with lib; {
homepage = "https://bottlepy.org/";
description = "A fast and simple micro-framework for small web-applications";
license = licenses.mit;
maintainers = with maintainers; [ koral ];
};
}