nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 flask,
6 lxml,
7 numpy,
8 pandas,
9 pyyaml,
10 poetry-core,
11 pytestCheckHook,
12}:
13
14buildPythonPackage rec {
15 pname = "succulent";
16 version = "0.4.3";
17 pyproject = true;
18
19 src = fetchFromGitHub {
20 owner = "firefly-cpp";
21 repo = "succulent";
22 tag = version;
23 hash = "sha256-e2F2g8NfMyAfiHPUq8KRs99pu7yEZTpWraxhsAZXE4Q=";
24 };
25
26 pythonRelaxDeps = [
27 "flask"
28 "lxml"
29 "numpy"
30 ];
31
32 build-system = [
33 poetry-core
34 ];
35
36 dependencies = [
37 flask
38 lxml
39 numpy
40 pandas
41 pyyaml
42 ];
43
44 nativeCheckInputs = [ pytestCheckHook ];
45
46 pythonImportsCheck = [ "succulent" ];
47
48 meta = {
49 description = "Collect POST requests";
50 homepage = "https://github.com/firefly-cpp/succulent";
51 changelog = "https://github.com/firefly-cpp/succulent/releases/tag/${src.tag}";
52 license = lib.licenses.mit;
53 maintainers = with lib.maintainers; [ firefly-cpp ];
54 };
55}