mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
python3Packages.azure-cli-telemetry: remove
This commit is contained in:
parent
1662add56f
commit
3dd81af87b
@ -1,50 +0,0 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, python
|
||||
, applicationinsights
|
||||
, portalocker
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-cli-telemetry";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1f239d544d309c29e827982cc20113eb57037dba16db6cdd2e0283e437e0e577";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
applicationinsights
|
||||
portalocker
|
||||
];
|
||||
|
||||
# tests are not published to pypi
|
||||
doCheck = false;
|
||||
|
||||
# Remove overly restrictive version contraints and obsolete namespace setup
|
||||
prePatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "applicationinsights>=0.11.1,<0.12" "applicationinsights"
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "azure-namespace-package = azure-cli-nspkg" ""
|
||||
rm azure_bdist_wheel.py # we'll fix PEP420 namespacing
|
||||
'';
|
||||
|
||||
# Prevent these __init__'s from violating PEP420, only needed for python2
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py \
|
||||
$out/${python.sitePackages}/azure/cli/__init__.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://github.com/Azure/azure-cli;
|
||||
description = "Next generation multi-platform command line experience for Azure";
|
||||
platforms = platforms.all;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
@ -251,8 +251,6 @@ in {
|
||||
|
||||
azure-nspkg = callPackage ../development/python-modules/azure-nspkg { };
|
||||
|
||||
azure-cli-telemetry = callPackage ../development/python-modules/azure-cli-telemetry { };
|
||||
|
||||
azure-common = callPackage ../development/python-modules/azure-common { };
|
||||
|
||||
azure-cosmos = callPackage ../development/python-modules/azure-cosmos { };
|
||||
|
Loading…
Reference in New Issue
Block a user