Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 54 lines
Nix
at flake-libs
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, buildPythonPackage, fetchPypi, setuptools, pytestCheckHook, pythonAtLeast,}:
buildPythonPackage rec { pname = "bottle"; version = "0.13.2"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-5TgDudKYx9ND0Aun0nsAWUFfBLn29AuNWLW/kUup00g="; };
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
preCheck = '' cd test '';
disabledTests = [ "test_delete_cookie" "test_error" "test_error_in_generator_callback" # timing sensitive "test_ims" ] ++ lib.optionals (pythonAtLeast "3.12") [ # https://github.com/bottlepy/bottle/issues/1422 # ModuleNotFoundError: No module named 'bottle.ext' "test_data_import" "test_direkt_import" "test_from_import" ];
__darwinAllowLocalNetworking = true;
meta = with lib; { homepage = "https://bottlepy.org/"; description = "Fast and simple micro-framework for small web-applications"; mainProgram = "bottle.py"; downloadPage = "https://github.com/bottlepy/bottle"; license = licenses.mit; maintainers = with maintainers; [ koral ]; };}