Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions pkgs/development/python-modules/onepassword-sdk/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,

# build-system
setuptools,
Expand All @@ -22,6 +23,15 @@ buildPythonPackage (finalAttrs: {
hash = "sha256-mMmHC5zBY1w+Y+NAZJkP7m1CqErwCv2bMNAo1TTNm6E=";
};

patches = [
# Add PEP 561 py.typed marker; remove when upstreamed in next release.
# https://github.com/1Password/onepassword-sdk-python/issues/220
(fetchpatch {
url = "https://github.com/1Password/onepassword-sdk-python/commit/42c0e2e9e4af861174f70b73ef4bfa138e6a3834.patch";
hash = "sha256-twSwe6ShQH0sWxIlzWGuz+dKr+bb4cNVvFKfPHBg2rw=";
})
];

build-system = [
setuptools
];
Expand Down
Loading