about summary refs log tree commit diff
path: root/pkgs/by-name/py
diff options
context:
space:
mode:
authoréclairevoyant <848000+eclairevoyant@users.noreply.github.com>2024-06-12 16:12:00 +0000
committerGitHub <noreply@github.com>2024-06-12 16:12:00 +0000
commit1729f1a7a900cd285b42db9c158da7a581ca407a (patch)
tree7d6255caecebbb630870fc2a4ca844745bc7e1cb /pkgs/by-name/py
parentdac9cdf8c930c0af98a63cbfe8005546ba0125fb (diff)
parent0f285b40021e15c298dd190982f45800f15549e4 (diff)
Merge pull request #300039 from Vasissualiyp/add-pybibget
pybibget: init at 0.1.0
Diffstat (limited to 'pkgs/by-name/py')
-rw-r--r--pkgs/by-name/py/pybibget/package.nix42
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/by-name/py/pybibget/package.nix b/pkgs/by-name/py/pybibget/package.nix
new file mode 100644
index 0000000000000..a3f8febc7d07b
--- /dev/null
+++ b/pkgs/by-name/py/pybibget/package.nix
@@ -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 ];
+  };
+}