azure-cli: 2.17.0 -> 2.17.1

This commit is contained in:
Jonathan Ringer
2021-01-12 06:24:34 -08:00
committed by Jonathan Ringer
parent c7761ec220
commit c0f8f2de40
2 changed files with 27 additions and 5 deletions
+5 -3
View File
@@ -1,12 +1,14 @@
{ stdenv, lib, python3, fetchFromGitHub, installShellFiles }:
let
version = "2.17.0";
version = "2.17.1";
srcName = "azure-cli-${version}-src";
src = fetchFromGitHub {
name = srcName;
owner = "Azure";
repo = "azure-cli";
rev = "azure-cli-${version}";
sha256 = "2QLPtZYZZ+W5xZH2hxFnjox31v3My3zocouqLWGWSYI=";
sha256 = "sha256-RTYCsdoZx1YQa9a8ZyvwQ9yTLEB6r7/mMgfecc/vGvM=";
};
# put packages that needs to be overriden in the py package scope
@@ -19,7 +21,7 @@ py.pkgs.toPythonApplication (py.pkgs.buildAzureCliPackage {
pname = "azure-cli";
inherit version src;
sourceRoot = "source/src/azure-cli";
sourceRoot = "${srcName}/src/azure-cli";
prePatch = ''
substituteInPlace setup.py \