27 buildPythonPackage rec {
31 disabled = pythonOlder "3.6";
33 src = fetchFromGitHub {
36 rev = "refs/tags/v${version}";
37 sha256 = "sha256-/0Y49ZSaPM3IAFJGmWKiKD+mziA0LYQ3fvGFrkPkl9Y=";
41 substituteInPlace Makefile \
42 --replace "SHELL := /bin/bash" "SHELL := bash" \
43 --replace "test flaketest" "test"
44 substituteInPlace setup.py \
48 propagatedBuildInputs = [
74 # requires Noto Serif and Roboto Mono font
81 pythonImportsCheck = [ "xml2rfc" ];
84 description = "Tool generating IETF RFCs and drafts from XML sources";
85 homepage = "https://github.com/ietf-tools/xml2rfc";
86 # Well, parts might be considered unfree, if being strict; see:
87 # http://metadata.ftp-master.debian.org/changelogs/non-free/x/xml2rfc/xml2rfc_2.9.6-1_copyright
88 license = licenses.bsd3;
89 maintainers = with maintainers; [ vcunat yrashk ];