xml2rfc: Use pythonPackages.xml2rfc

This commit is contained in:
Daniel Schaefer 2019-09-14 17:07:49 +02:00 committed by Robin Gloster
parent bf050e9456
commit 8fd8f3a44a
No known key found for this signature in database
GPG key ID: D5C458DF6DD97EDF
3 changed files with 2 additions and 26 deletions

View file

@ -40,6 +40,6 @@ buildPythonPackage rec {
# 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;
maintainers = [ maintainers.vcunat ];
maintainers = with maintainers; [ vcunat yrashk ];
};
}

View file

@ -1,24 +0,0 @@
{ python, stdenv }:
with python.pkgs;
buildPythonPackage rec {
pname = "xml2rfc";
version = "2.9.8";
buildInputs = [ intervaltree lxml requests pyflakes ];
propagatedBuildInputs = [ intervaltree lxml requests six ];
src = fetchPypi {
inherit pname version;
sha256 = "b50ce2f98bc431cadbcef0523213497049b78c2829ee81c399976f1e4832afc6";
};
meta = with stdenv.lib; {
homepage = "https://xml2rfc.tools.ietf.org/";
license = licenses.bsdOriginal;
description = "Xml2rfc generates RFCs and IETF drafts from document source in XML according to the dtd in RFC2629.";
maintainers = [ maintainers.yrashk ];
};
}

View file

@ -24803,7 +24803,7 @@ in
diceware = callPackage ../tools/security/diceware { };
xml2rfc = callPackage ../tools/typesetting/xml2rfc { };
xml2rfc = with python3Packages; toPythonApplication xml2rfc;
mmark = callPackage ../tools/typesetting/mmark { };