at master 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 flask, 6 lxml, 7 numpy, 8 pandas, 9 pyyaml, 10 poetry-core, 11 pytestCheckHook, 12 pythonOlder, 13}: 14 15buildPythonPackage rec { 16 pname = "succulent"; 17 version = "0.4.2"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.8"; 21 22 src = fetchFromGitHub { 23 owner = "firefly-cpp"; 24 repo = "succulent"; 25 tag = version; 26 hash = "sha256-3cqU1iYxvMyx0hCVl6r4RZARpsWNckXZgeBNq0kokuw="; 27 }; 28 29 pythonRelaxDeps = [ 30 "flask" 31 "numpy" 32 ]; 33 34 nativeBuildInputs = [ 35 poetry-core 36 ]; 37 38 propagatedBuildInputs = [ 39 flask 40 lxml 41 numpy 42 pandas 43 pyyaml 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/${src.tag}/CHANGELOG.md"; 54 license = licenses.mit; 55 maintainers = with maintainers; [ firefly-cpp ]; 56 }; 57}