1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 flask, 6 lxml, 7 pandas, 8 pyyaml, 9 poetry-core, 10 pytestCheckHook, 11 pythonRelaxDepsHook, 12 pythonOlder, 13 toml-adapt, 14 xmltodict, 15}: 16 17buildPythonPackage rec { 18 pname = "succulent"; 19 version = "0.3.3"; 20 pyproject = true; 21 22 disabled = pythonOlder "3.8"; 23 24 src = fetchFromGitHub { 25 owner = "firefly-cpp"; 26 repo = "succulent"; 27 rev = "refs/tags/${version}"; 28 hash = "sha256-+S4ekvaQvbBxjUQkG+Bd9lYdZwHB3oq7Ay9kWquCcyE="; 29 }; 30 31 pythonRelaxDeps = [ "flask" ]; 32 33 nativeBuildInputs = [ 34 poetry-core 35 pythonRelaxDepsHook 36 ]; 37 38 propagatedBuildInputs = [ 39 flask 40 lxml 41 pandas 42 pyyaml 43 xmltodict 44 ]; 45 46 nativeCheckInputs = [ pytestCheckHook ]; 47 48 pythonImportsCheck = [ "succulent" ]; 49 50 meta = with lib; { 51 description = "Collect POST requests"; 52 homepage = "https://github.com/firefly-cpp/succulent"; 53 changelog = "https://github.com/firefly-cpp/succulent/blob/${version}/CHANGELOG.md"; 54 license = licenses.mit; 55 maintainers = with maintainers; [ firefly-cpp ]; 56 }; 57}