blob: 889159ccff34d91d570187bde6e5365c99555ad2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{
buildPythonPackage,
lib,
fetchFromGitHub,
mock,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "arxiv2bib";
version = "1.0.8";
format = "setuptools";
# Missing tests on Pypi
src = fetchFromGitHub {
owner = "nathangrigg";
repo = "arxiv2bib";
rev = version;
sha256 = "1kp2iyx20lpc9dv4qg5fgwf83a1wx6f7hj1ldqyncg0kn9xcrhbg";
};
nativeCheckInputs = [
unittestCheckHook
mock
];
unittestFlagsArray = [
"-s"
"tests"
];
meta = with lib; {
description = "Get a BibTeX entry from an arXiv id number, using the arxiv.org API";
mainProgram = "arxiv2bib";
homepage = "http://nathangrigg.github.io/arxiv2bib/";
license = licenses.bsd3;
maintainers = [ maintainers.nico202 ];
};
}
|