Loading pkgs/development/python-modules/pyzotero/default.nix 0 → 100644 +69 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, # build-system uv-build, # dependencies bibtexparser, feedparser, httpx, whenever, pytest-asyncio, # tests pytest-cov-stub, pytestCheckHook, python-dateutil, pytz, }: buildPythonPackage (finalAttrs: { pname = "pyzotero"; version = "1.11.0"; pyproject = true; src = fetchFromGitHub { owner = "urschrei"; repo = "pyzotero"; tag = "v${finalAttrs.version}"; hash = "sha256-8K9Lg9Ehl0QARU2tAidMyynorPIMGtxDXzshmbpb6So="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "uv_build>=0.8.14,<0.9.0" "uv-build" ''; build-system = [ uv-build ]; dependencies = [ bibtexparser feedparser httpx whenever ]; nativeCheckInputs = [ pytest-asyncio pytest-cov-stub pytestCheckHook python-dateutil pytz ]; pythonImportsCheck = [ "pyzotero" ]; meta = { description = "Python client for the Zotero API"; homepage = "https://pyzotero.readthedocs.io/en/latest/"; downloadPage = "https://pyzotero.readthedocs.io/en/latest/"; changelog = "https://github.com/urschrei/pyzotero/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.blueOak100; maintainers = with lib.maintainers; [ ethancedwards8 ]; }; }) pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -16305,6 +16305,8 @@ self: super: with self; { pyzmq = callPackage ../development/python-modules/pyzmq { }; pyzotero = callPackage ../development/python-modules/pyzotero { }; pyzstd = callPackage ../development/python-modules/pyzstd { zstd-c = pkgs.zstd; }; pyzx = callPackage ../development/python-modules/pyzx { }; Loading
pkgs/development/python-modules/pyzotero/default.nix 0 → 100644 +69 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, # build-system uv-build, # dependencies bibtexparser, feedparser, httpx, whenever, pytest-asyncio, # tests pytest-cov-stub, pytestCheckHook, python-dateutil, pytz, }: buildPythonPackage (finalAttrs: { pname = "pyzotero"; version = "1.11.0"; pyproject = true; src = fetchFromGitHub { owner = "urschrei"; repo = "pyzotero"; tag = "v${finalAttrs.version}"; hash = "sha256-8K9Lg9Ehl0QARU2tAidMyynorPIMGtxDXzshmbpb6So="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "uv_build>=0.8.14,<0.9.0" "uv-build" ''; build-system = [ uv-build ]; dependencies = [ bibtexparser feedparser httpx whenever ]; nativeCheckInputs = [ pytest-asyncio pytest-cov-stub pytestCheckHook python-dateutil pytz ]; pythonImportsCheck = [ "pyzotero" ]; meta = { description = "Python client for the Zotero API"; homepage = "https://pyzotero.readthedocs.io/en/latest/"; downloadPage = "https://pyzotero.readthedocs.io/en/latest/"; changelog = "https://github.com/urschrei/pyzotero/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.blueOak100; maintainers = with lib.maintainers; [ ethancedwards8 ]; }; })
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -16305,6 +16305,8 @@ self: super: with self; { pyzmq = callPackage ../development/python-modules/pyzmq { }; pyzotero = callPackage ../development/python-modules/pyzotero { }; pyzstd = callPackage ../development/python-modules/pyzstd { zstd-c = pkgs.zstd; }; pyzx = callPackage ../development/python-modules/pyzx { };