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}},
}
commit714c0781c3bd9956b26becccc05d2f997afd4aa3
authorMatthieu Coudron <mattator@gmail.com>
dateThu 11 Oct 2018, 16:17 (8 years ago)
parent0a7e258
pkgs/development/python-modules/rfc-bibtex/default.nixnew file+20
@@ -0,0 +1,20 @@
1+{ stdenv, buildPythonApplication, fetchPypi, isPy3k }:
2+
3+buildPythonApplication rec {
4+ pname = "rfc-bibtex";
5+ version = "0.2.1";
6+
7+ src = fetchPypi {
8+ inherit pname version;
9+ sha256 = "1p8xjgq4rig1jgqy5jqh34mbifxgxsyyxh8sizwz2wyixf8by8lq";
10+ };
11+
12+ disabled = !isPy3k;
13+
14+ meta = with stdenv.lib; {
15+ homepage = ttps://github.com/iluxonchik/rfc-bibtex/;
16+ description = "Generate Bibtex entries for IETF RFCs and Internet-Drafts";
17+ license = licenses.mit;
18+ maintainers = with maintainers; [ teto ];
19+ };
20+}
pkgs/top-level/all-packages.nix+2
@@ -22033,6 +22033,8 @@ with pkgs;
2203322033
2203422034 retrofe = callPackage ../misc/emulators/retrofe { };
2203522035
22036+ rfc-bibtex = python3Packages.callPackage ../development/python-modules/rfc-bibtex { };
22037+
2203622038 rpl = callPackage ../tools/text/rpl {
2203722039 pythonPackages = python3Packages;
2203822040 };