nixpkgs/pkgs/development/python-modules/xml2rfc/default.nix

46 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, fetchPypi, buildPythonPackage, intervaltree, pyflakes, requests, lxml, google-i18n-address
, pycountry, html5lib, six, kitchen, pypdf2, dict2xml, weasyprint
, stdenv
}:
buildPythonPackage rec {
pname = "xml2rfc";
2020-06-06 07:47:37 +01:00
version = "2.45.2";
src = fetchPypi {
inherit pname version;
2020-06-06 07:47:37 +01:00
sha256 = "16e4d27040f7cb10171fb747e0193ff71b035597c63837133beee6ce4ba6ad6e";
};
propagatedBuildInputs = [
intervaltree
pyflakes
requests
lxml
google-i18n-address
pycountry
html5lib
six
kitchen
pypdf2
dict2xml
weasyprint
];
preCheck = ''
export HOME=$(mktemp -d)
'';
# lxml tries to fetch from the internet
doCheck = false;
meta = with lib; {
description = "Tool generating IETF RFCs and drafts from XML sources";
2020-03-28 14:54:31 +00:00
homepage = "https://tools.ietf.org/tools/xml2rfc/trac/";
# Well, parts might be considered unfree, if being strict; see:
# http://metadata.ftp-master.debian.org/changelogs/non-free/x/xml2rfc/xml2rfc_2.9.6-1_copyright
license = licenses.bsd3;
2019-09-14 16:07:49 +01:00
maintainers = with maintainers; [ vcunat yrashk ];
};
}