rfc-bibtex: init at 2.2.1

Generate bibtex entries from IETF rfc/drafts, for instance:
$ rfcbibtex RFC5246 draft-ietf-tls-tls13-21

@techreport{RFC5246,
  author = {T. Dierks and E. Rescorla},
  title = {{The Transport Layer Security (TLS) Protocol Version 1.2}},
  howpublished = {Internet Requests for Comments},
  type = {RFC},
  number = {5246},
  year = {2008},
  month = {August},
  issn = {2070-1721},
  publisher = {RFC Editor},
  institution = {RFC Editor},
  url = {http://www.rfc-editor.org/rfc/rfc5246.txt},
  note = {\url{http://www.rfc-editor.org/rfc/rfc5246.txt}},
}

@techreport{I-D.ietf-tls-tls13,
  author = {Eric Rescorla},
  title = {{The Transport Layer Security (TLS) Protocol Version 1.3}},
  howpublished = {Working Draft},
  type = {Internet-Draft},
  number = {draft-ietf-tls-tls13-21},
  year = {2017},
  month = {July},
  institution = {IETF Secretariat},
  url = {http://www.ietf.org/internet-drafts/draft-ietf-tls-tls13-21.txt},
  note = {\url{http://www.ietf.org/internet-drafts/draft-ietf-tls-tls13-21.txt}},
}
This commit is contained in:
Matthieu Coudron 2018-10-11 16:17:40 +09:00
parent 0a7e258012
commit 714c0781c3
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{ stdenv, buildPythonApplication, fetchPypi, isPy3k }:
buildPythonApplication rec {
pname = "rfc-bibtex";
version = "0.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "1p8xjgq4rig1jgqy5jqh34mbifxgxsyyxh8sizwz2wyixf8by8lq";
};
disabled = !isPy3k;
meta = with stdenv.lib; {
homepage = ttps://github.com/iluxonchik/rfc-bibtex/;
description = "Generate Bibtex entries for IETF RFCs and Internet-Drafts";
license = licenses.mit;
maintainers = with maintainers; [ teto ];
};
}

View file

@ -22033,6 +22033,8 @@ with pkgs;
retrofe = callPackage ../misc/emulators/retrofe { };
rfc-bibtex = python3Packages.callPackage ../development/python-modules/rfc-bibtex { };
rpl = callPackage ../tools/text/rpl {
pythonPackages = python3Packages;
};