Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
912 B · 45 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ 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 ]; };}