Loading pkgs/development/python-modules/osxphotos/default.nix +15 −11 Original line number Diff line number Diff line Loading @@ -5,10 +5,12 @@ fetchFromGitHub, setuptools, beautifulsoup4, bitmath, bpylist2, click, mako, markdown2, more-itertools, objexplore, packaging, Loading @@ -26,32 +28,37 @@ textx, toml, tzdata, utitools, whenever, wrapt, wurlitzer, xdg-base-dirs, # tests pytestCheckHook, pytest-mock, writableTmpDirAsHomeHook, }: buildPythonPackage rec { pname = "osxphotos"; version = "0.72.1"; version = "0.73.4"; pyproject = true; src = fetchFromGitHub { owner = "RhetTbull"; repo = "osxphotos"; tag = "v${version}"; hash = "sha256-6BUdF2l/C0Zim7ei/t4DKs4RUIDMWikhZmhattYrXmg="; hash = "sha256-KZrTGnAAPZWzEx3qj+/rkHdmI/pOfQVW/IIL+DCs8eM="; }; build-system = [ setuptools ]; dependencies = [ beautifulsoup4 bitmath bpylist2 click mako markdown2 more-itertools objexplore packaging Loading @@ -69,6 +76,8 @@ buildPythonPackage rec { textx toml tzdata utitools whenever wrapt wurlitzer xdg-base-dirs Loading @@ -78,6 +87,7 @@ buildPythonPackage rec { "mako" "more-itertools" "objexplore" "rich" "textx" "tenacity" ]; Loading @@ -86,20 +96,14 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook pytest-mock writableTmpDirAsHomeHook ]; preCheck = '' export HOME=$(mktemp -d) ''; disabledTestPaths = [ "tests/test_comments.py" ]; disabledTests = [ "test_iphoto_info" "test_datetime_naive_to_local" "test_from_to_date_tz" "test_function_url" "test_get_local_tz" "test_datetime_naive_to_local" "test_from_to_date_tz" "test_query_from_to_date_alt_location" "test_query_function_url" ]; Loading pkgs/development/python-modules/utitools/default.nix 0 → 100644 +41 −0 Original line number Diff line number Diff line { stdenv, lib, buildPythonPackage, fetchFromGitHub, flit-core, pyobjc-core, pyobjc-framework-Cocoa, pytestCheckHook, }: buildPythonPackage rec { pname = "utitools"; version = "0.4.0"; pyproject = true; src = fetchFromGitHub { owner = "RhetTbull"; repo = "utitools"; tag = "v${version}"; hash = "sha256-oI+a+sc9+qi7aFP0dLINAQekib/9pZm10A5jhVIHWvo="; }; build-system = [ flit-core ]; dependencies = lib.optionals stdenv.hostPlatform.isDarwin [ pyobjc-core pyobjc-framework-Cocoa ]; pythonImportsCheck = [ "utitools" ]; nativeCheckInputs = [ pytestCheckHook ]; meta = { description = "Utilities for working with Uniform Type Identifiers"; homepage = "https://github.com/RhetTbull/utitools"; changelog = "https://github.com/RhetTbull/osxphotos/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sigmanificient ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -19854,6 +19854,8 @@ self: super: with self; { utils = callPackage ../development/python-modules/utils { }; utitools = callPackage ../development/python-modules/utitools { }; uuid6 = callPackage ../development/python-modules/uuid6 { }; uv = callPackage ../development/python-modules/uv { inherit (pkgs) uv; }; Loading
pkgs/development/python-modules/osxphotos/default.nix +15 −11 Original line number Diff line number Diff line Loading @@ -5,10 +5,12 @@ fetchFromGitHub, setuptools, beautifulsoup4, bitmath, bpylist2, click, mako, markdown2, more-itertools, objexplore, packaging, Loading @@ -26,32 +28,37 @@ textx, toml, tzdata, utitools, whenever, wrapt, wurlitzer, xdg-base-dirs, # tests pytestCheckHook, pytest-mock, writableTmpDirAsHomeHook, }: buildPythonPackage rec { pname = "osxphotos"; version = "0.72.1"; version = "0.73.4"; pyproject = true; src = fetchFromGitHub { owner = "RhetTbull"; repo = "osxphotos"; tag = "v${version}"; hash = "sha256-6BUdF2l/C0Zim7ei/t4DKs4RUIDMWikhZmhattYrXmg="; hash = "sha256-KZrTGnAAPZWzEx3qj+/rkHdmI/pOfQVW/IIL+DCs8eM="; }; build-system = [ setuptools ]; dependencies = [ beautifulsoup4 bitmath bpylist2 click mako markdown2 more-itertools objexplore packaging Loading @@ -69,6 +76,8 @@ buildPythonPackage rec { textx toml tzdata utitools whenever wrapt wurlitzer xdg-base-dirs Loading @@ -78,6 +87,7 @@ buildPythonPackage rec { "mako" "more-itertools" "objexplore" "rich" "textx" "tenacity" ]; Loading @@ -86,20 +96,14 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook pytest-mock writableTmpDirAsHomeHook ]; preCheck = '' export HOME=$(mktemp -d) ''; disabledTestPaths = [ "tests/test_comments.py" ]; disabledTests = [ "test_iphoto_info" "test_datetime_naive_to_local" "test_from_to_date_tz" "test_function_url" "test_get_local_tz" "test_datetime_naive_to_local" "test_from_to_date_tz" "test_query_from_to_date_alt_location" "test_query_function_url" ]; Loading
pkgs/development/python-modules/utitools/default.nix 0 → 100644 +41 −0 Original line number Diff line number Diff line { stdenv, lib, buildPythonPackage, fetchFromGitHub, flit-core, pyobjc-core, pyobjc-framework-Cocoa, pytestCheckHook, }: buildPythonPackage rec { pname = "utitools"; version = "0.4.0"; pyproject = true; src = fetchFromGitHub { owner = "RhetTbull"; repo = "utitools"; tag = "v${version}"; hash = "sha256-oI+a+sc9+qi7aFP0dLINAQekib/9pZm10A5jhVIHWvo="; }; build-system = [ flit-core ]; dependencies = lib.optionals stdenv.hostPlatform.isDarwin [ pyobjc-core pyobjc-framework-Cocoa ]; pythonImportsCheck = [ "utitools" ]; nativeCheckInputs = [ pytestCheckHook ]; meta = { description = "Utilities for working with Uniform Type Identifiers"; homepage = "https://github.com/RhetTbull/utitools"; changelog = "https://github.com/RhetTbull/osxphotos/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sigmanificient ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -19854,6 +19854,8 @@ self: super: with self; { utils = callPackage ../development/python-modules/utils { }; utitools = callPackage ../development/python-modules/utitools { }; uuid6 = callPackage ../development/python-modules/uuid6 { }; uv = callPackage ../development/python-modules/uv { inherit (pkgs) uv; };