mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 00:33:10 +00:00
python311Packages.azure-mgmt-commerce: modernize
This commit is contained in:
parent
445bbd6b04
commit
614bc023d2
@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
msrestazure,
|
||||
azure-common,
|
||||
azure-mgmt-core,
|
||||
@ -11,7 +12,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-commerce";
|
||||
version = "6.0.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
@ -19,7 +20,9 @@ buildPythonPackage rec {
|
||||
sha256 = "6f5447395503b2318f451d24f8021ee08db1cac44f1c3337ea690700419626b6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
msrestazure
|
||||
azure-common
|
||||
azure-mgmt-core
|
||||
@ -28,8 +31,6 @@ buildPythonPackage rec {
|
||||
|
||||
prePatch = ''
|
||||
rm -f azure_bdist_wheel.py tox.ini
|
||||
substituteInPlace setup.py \
|
||||
--replace "wheel==0.30.0" "wheel"
|
||||
sed -i "/azure-namespace-package/c\ " setup.cfg
|
||||
'';
|
||||
|
||||
@ -43,8 +44,6 @@ buildPythonPackage rec {
|
||||
description = "This is the Microsoft Azure Commerce Management Client Library";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [
|
||||
maxwilson
|
||||
];
|
||||
maintainers = with maintainers; [ maxwilson ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user