depot/third_party/nixpkgs/pkgs/development/python-modules/succulent/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

54 lines
1,013 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
flask,
lxml,
pandas,
pyyaml,
poetry-core,
pytestCheckHook,
pythonOlder,
xmltodict,
}:
buildPythonPackage rec {
pname = "succulent";
version = "0.3.3";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "firefly-cpp";
repo = "succulent";
rev = "refs/tags/${version}";
hash = "sha256-+S4ekvaQvbBxjUQkG+Bd9lYdZwHB3oq7Ay9kWquCcyE=";
};
pythonRelaxDeps = [ "flask" ];
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
flask
lxml
pandas
pyyaml
xmltodict
];
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 ];
};
}