python312Packages.medallion: init at 3.0.0

This commit is contained in:
PapayaJackal
2024-10-29 14:59:33 +00:00
parent 454faa3815
commit 50d025342c
2 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
{
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";
rev = "refs/tags/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 ];
};
}

View File

@@ -7823,6 +7823,8 @@ self: super: with self; {
mechanize = callPackage ../development/python-modules/mechanize { };
medallion = callPackage ../development/python-modules/medallion { };
mediafile = callPackage ../development/python-modules/mediafile { };
mediafire-dl = callPackage ../development/python-modules/mediafire-dl { };