2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildPythonApplication, fetchPypi, isPy3k }:
|
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}},
}
2018-10-11 08:17:40 +01:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "rfc-bibtex";
|
2019-10-24 07:47:47 +01:00
|
|
|
version = "0.3.2";
|
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}},
}
2018-10-11 08:17:40 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 07:47:47 +01:00
|
|
|
sha256 = "60419a2043ef37ac2438f3eae7a3207d0a4cb2dd56ab21697f874a35ee52927f";
|
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}},
}
2018-10-11 08:17:40 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/iluxonchik/rfc-bibtex/";
|
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}},
}
2018-10-11 08:17:40 +01:00
|
|
|
description = "Generate Bibtex entries for IETF RFCs and Internet-Drafts";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ teto ];
|
|
|
|
};
|
|
|
|
}
|