depot/third_party/nixpkgs/pkgs/development/python-modules/succulent/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03: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.4";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "firefly-cpp";
repo = "succulent";
rev = "refs/tags/${version}";
hash = "sha256-lU4M/ObX2mhHgYsc72zLp87g1lJ6ikfTeEojEdJwjGs=";
};
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 ];
};
}