python3Packages.google-cloud-netapp: use gitUpdater
Replaces nix-update-script with gitUpdater.
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
gitUpdater,
|
||||
google-api-core,
|
||||
google-auth,
|
||||
mock,
|
||||
nix-update-script,
|
||||
proto-plus,
|
||||
protobuf,
|
||||
pytest-asyncio,
|
||||
@@ -47,11 +47,8 @@ buildPythonPackage rec {
|
||||
"google.cloud.netapp_v1"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--version-regex"
|
||||
"google-cloud-netapp-v([0-9.]+)"
|
||||
];
|
||||
passthru.updateScript = gitUpdater {
|
||||
rev-prefix = "google-cloud-netapp-v";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user