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