at master 775 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 setuptools, 5 fetchFromGitHub, 6 defusedxml, 7}: 8 9buildPythonPackage rec { 10 pname = "py3amf"; 11 version = "0.8.11"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "StdCarrot"; 16 repo = "Py3AMF"; 17 tag = "v${version}"; 18 hash = "sha256-9zuHh5+ggIjv1LcjpBNHy2yh09KsFpxUdGrtKGm94Zg="; 19 }; 20 21 build-system = [ 22 setuptools 23 ]; 24 25 dependencies = [ 26 defusedxml 27 ]; 28 29 pythonImportsCheck = [ 30 "pyamf" 31 ]; 32 33 meta = { 34 description = "Action Message Format (AMF) support for Python 3"; 35 homepage = "https://github.com/StdCarrot/Py3AMF"; 36 changelog = "https://github.com/StdCarrot/Py3AMF/blob/${src.rev}/CHANGES.txt"; 37 license = lib.licenses.mit; 38 maintainers = with lib.maintainers; [ zhaofengli ]; 39 }; 40}