mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
python312Packages.medallion: init at 3.0.0
This commit is contained in:
45
pkgs/development/python-modules/medallion/default.nix
Normal file
45
pkgs/development/python-modules/medallion/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user