depot/third_party/nixpkgs/pkgs/development/python-modules/succulent/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

59 lines
1 KiB
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, flask
, pandas
, pyyaml
, poetry-core
, pytestCheckHook
, pythonRelaxDepsHook
, pythonOlder
, toml-adapt
}:
buildPythonPackage rec {
pname = "succulent";
version = "0.3.2";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "firefly-cpp";
repo = "succulent";
rev = "refs/tags/${version}";
hash = "sha256-2WiKrIQkgFIjmZkEA8veXcKCY4X0aygqoP7R3UCCljQ=";
};
pythonRelaxDeps = [
"flask"
"pandas"
];
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
propagatedBuildInputs = [
flask
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 ];
};
}