Skip to content

Commit

Permalink
rfc-bibtex: init at 2.2.1
Browse files Browse the repository at this point in the history
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}},
}
  • Loading branch information
teto committed Oct 11, 2018
1 parent 0a7e258 commit 714c078
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pkgs/development/python-modules/rfc-bibtex/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit 714c078

Please sign in to comment.