Merge pull request #300039 from Vasissualiyp/add-pybibget

pybibget: init at 0.1.0
This commit is contained in:
éclairevoyant 2024-06-12 16:12:00 +00:00 committed by GitHub
commit 1729f1a7a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 48 additions and 0 deletions

View File

@ -21619,6 +21619,12 @@
githubId = 6943308;
name = "Varun Patro";
};
vasissualiyp = {
email = "vaspust@gmail.com";
github = "vasissualiyp";
githubId = 110242808;
name = "Vasilii Pustovoit";
};
vbgl = {
email = "Vincent.Laporte@gmail.com";
github = "vbgl";

View File

@ -0,0 +1,42 @@
{ lib
, python3
, fetchPypi
}:
let
pname = "pybibget";
version = "0.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "1n4as3kdsgrcmxxyjz9klm0v0pb24rsa1b7r43j7wmnfsir8i81k";
};
in
python3.pkgs.buildPythonApplication {
inherit pname version src;
pyproject = true;
propagatedBuildInputs = with python3.pkgs; [
lxml
httpx
appdirs
aiolimiter
pybtex
pylatexenc
numpy
networkx
requests
];
# Tests for this applicaiton do not run on NixOS, and binaries were
# manually tested instead
doCheck = false;
meta = {
description = "Command line utility to automatically retrieve BibTeX citations from MathSciNet, arXiv, PubMed and doi.org";
homepage = "https://github.com/wirhabenzeit/pybibget";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ vasissualiyp ];
};
}