depot/third_party/nixpkgs/pkgs/by-name/py/pybibget/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

42 lines
868 B
Nix

{ 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 ];
};
}