Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
46 lines
912 B
Nix
46 lines
912 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
flask,
|
|
flask-httpauth,
|
|
pytz,
|
|
six,
|
|
pymongo,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "medallion";
|
|
version = "3.0.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "oasis-open";
|
|
repo = "cti-taxii-server";
|
|
tag = "v${version}";
|
|
hash = "sha256-+fWifWi/XR6MSOLhWXn2CFpItVdkOpzQItlrZkjapAk=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
flask
|
|
flask-httpauth
|
|
pymongo
|
|
pytz
|
|
six
|
|
];
|
|
|
|
pythonImportsCheck = [ "medallion" ];
|
|
|
|
meta = with lib; {
|
|
description = "Minimal implementation of a TAXII 2.1 Server in Python";
|
|
homepage = "https://medallion.readthedocs.io/en/latest/";
|
|
changelog = "https://github.com/oasis-open/cti-taxii-server/blob/v${version}/CHANGES.txt";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ PapayaJackal ];
|
|
};
|
|
}
|