python3Packages.azure-mgmt-billing: 0.2.0 -> 1.0.0

This commit is contained in:
Jonathan Ringer 2020-11-02 09:12:40 -08:00
parent 1a8936093c
commit 7c05731924
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0

View File

@ -10,11 +10,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "azure-mgmt-billing"; pname = "azure-mgmt-billing";
version = "0.2.0"; #pypi's 0.2.0 doesn't build ootb version = "1.0.0"; #pypi's 0.2.0 doesn't build ootb
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1li2bcdwdapwwx7xbvgfsq51f2mrwm0qyzih8cjhszcah2rkpxw5"; sha256 = "8b55064546c8e94839d9f8c98e9ea4b021004b3804e192bf39fa65b603536ad0";
extension = "zip"; extension = "zip";
}; };
@ -25,7 +25,7 @@ buildPythonPackage rec {
]; ];
preBuild = '' preBuild = ''
rm azure_bdist_wheel.py rm -rf azure_bdist_wheel.py
substituteInPlace setup.cfg \ substituteInPlace setup.cfg \
--replace "azure-namespace-package = azure-mgmt-nspkg" "" --replace "azure-namespace-package = azure-mgmt-nspkg" ""
''; '';