arxiv2bib: init at 1.0.8

This commit is contained in:
Nicolò Balzarotti 2018-02-09 16:40:17 +01:00
parent 84a6d8a718
commit 4422a70922
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ buildPythonPackage, python, lib, fetchFromGitHub
, mock
}:
buildPythonPackage rec {
pname = "arxiv2bib";
version = "1.0.8";
# Missing tests on Pypi
src = fetchFromGitHub {
owner = "nathangrigg";
repo = "arxiv2bib";
rev = version;
sha256 = "1kp2iyx20lpc9dv4qg5fgwf83a1wx6f7hj1ldqyncg0kn9xcrhbg";
};
# Required for tests only
checkInputs = [ mock ];
checkPhase = "${python.interpreter} -m unittest discover -s tests";
meta = with lib; {
description = "Get a BibTeX entry from an arXiv id number, using the arxiv.org API";
homepage = http://nathangrigg.github.io/arxiv2bib/;
license = licenses.bsd3;
maintainers = [ maintainers.nico202 ];
};
}

View File

@ -598,6 +598,8 @@ in {
area53 = callPackage ../development/python-modules/area53 { };
arxiv2bib = callPackage ../development/python-modules/arxiv2bib { };
chai = callPackage ../development/python-modules/chai { };
chainmap = callPackage ../development/python-modules/chainmap { };