Skip to content

Commit

Permalink
python312Packages.uamqp: switch to pypa builder
Browse files Browse the repository at this point in the history
  • Loading branch information
natsukium committed Nov 2, 2024
1 parent a36f9c7 commit e9e78f9
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions pkgs/development/python-modules/uamqp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
cython_0,
setuptools,
cython,
certifi,
CFNetwork,
cmake,
Expand All @@ -18,7 +19,7 @@
buildPythonPackage rec {
pname = "uamqp";
version = "1.6.11";
format = "setuptools";
pyproject = true;

src = fetchFromGitHub {
owner = "Azure";
Expand Down Expand Up @@ -47,9 +48,13 @@ buildPythonPackage rec {
src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/CMakeLists.txt
'';

build-system = [
cython
setuptools
];

nativeBuildInputs = [
cmake
cython_0
];

buildInputs =
Expand All @@ -60,7 +65,7 @@ buildPythonPackage rec {
Security
];

propagatedBuildInputs = [ certifi ];
dependencies = [ certifi ];

dontUseCmakeConfigure = true;

Expand Down

0 comments on commit e9e78f9

Please sign in to comment.