depot/third_party/nixpkgs/pkgs/development/python-modules/succulent/default.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

57 lines
1,023 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
flask,
lxml,
numpy,
pandas,
pyyaml,
poetry-core,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "succulent";
version = "0.4.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "firefly-cpp";
repo = "succulent";
rev = "refs/tags/${version}";
hash = "sha256-rD0qKYmWTu0LMRdWgul8OGp1FcczSY2/OxT8+oXO78E=";
};
pythonRelaxDeps = [
"flask"
"numpy"
];
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
flask
lxml
numpy
pandas
pyyaml
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "succulent" ];
meta = with lib; {
description = "Collect POST requests";
homepage = "https://github.com/firefly-cpp/succulent";
changelog = "https://github.com/firefly-cpp/succulent/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ firefly-cpp ];
};
}