arxiv2bib: init at 1.0.8
This commit is contained in:
parent
84a6d8a718
commit
4422a70922
28
pkgs/development/python-modules/arxiv2bib/default.nix
Normal file
28
pkgs/development/python-modules/arxiv2bib/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user