nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 47 lines 916 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 cybox, 5 distutils, 6 fetchFromGitHub, 7 lxml, 8 mixbox, 9 pytestCheckHook, 10 setuptools, 11}: 12 13buildPythonPackage rec { 14 pname = "maec"; 15 version = "4.1.0.17"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "MAECProject"; 20 repo = "python-maec"; 21 tag = "v${version}"; 22 hash = "sha256-I2Ov2AQiC9D8ivHqn7owcTsNS7Kw+CWVyijK3VO52Og="; 23 }; 24 25 build-system = [ 26 distutils 27 setuptools 28 ]; 29 30 dependencies = [ 31 cybox 32 lxml 33 mixbox 34 ]; 35 36 nativeCheckInputs = [ pytestCheckHook ]; 37 38 pythonImportsCheck = [ "maec" ]; 39 40 meta = { 41 description = "Library for parsing, manipulating, and generating MAEC content"; 42 homepage = "https://github.com/MAECProject/python-maec/"; 43 changelog = "https://github.com/MAECProject/python-maec/blob/${src.rev}/CHANGES.txt"; 44 license = lib.licenses.bsd3; 45 maintainers = with lib.maintainers; [ fab ]; 46 }; 47}