1{
2 lib,
3 python3,
4 fetchPypi,
5}:
6
7python3.pkgs.buildPythonApplication rec {
8 pname = "pybibget";
9 version = "0.1.0";
10 pyproject = true;
11
12 src = fetchPypi {
13 inherit pname version;
14 hash = "sha256-M6CIctTOVn7kIPmsoHQmYl2wQaUzfel7ryw/3ebQitg=";
15 };
16
17 build-system = [
18 python3.pkgs.setuptools
19 ];
20
21 propagatedBuildInputs = with python3.pkgs; [
22 lxml
23 httpx
24 appdirs
25 aiolimiter
26 pybtex
27 pylatexenc
28 numpy
29 networkx
30 requests
31 ];
32
33 # Tests for this application do not run on NixOS, and binaries were
34 # manually tested instead
35 doCheck = false;
36
37 meta = {
38 description = "Command line utility to automatically retrieve BibTeX citations from MathSciNet, arXiv, PubMed and doi.org";
39 homepage = "https://github.com/wirhabenzeit/pybibget";
40 license = lib.licenses.mit;
41 maintainers = with lib.maintainers; [ vasissualiyp ];
42 };
43}