etcd*: cleanup

This commit is contained in:
Tom van Dijk
2026-05-03 21:51:12 +02:00
parent 2bba52a768
commit ecc62941b6
3 changed files with 8 additions and 13 deletions

View File

@@ -5,14 +5,14 @@
nixosTests,
}:
buildGoModule rec {
buildGoModule (finalAttrs: {
pname = "etcd";
version = "3.4.42";
src = fetchFromGitHub {
owner = "etcd-io";
repo = "etcd";
rev = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-Ue5Mcksy3LiXLaVdxNz83V9qrxQfzxL5kw4rZobYcvY=";
};
@@ -46,4 +46,4 @@ buildGoModule rec {
homepage = "https://etcd.io/";
maintainers = with lib.maintainers; [ superherointj ];
};
}
})

View File

@@ -1,7 +1,6 @@
{
buildGoModule,
fetchFromGitHub,
k3s,
lib,
nixosTests,
symlinkJoin,

View File

@@ -1,9 +1,7 @@
{
applyPatches,
buildGoModule,
fetchFromGitHub,
installShellFiles,
k3s,
lib,
nixosTests,
stdenv,
@@ -17,13 +15,11 @@ let
etcdUtlVendorHash = "sha256-GVih32FEUV7FiDe/5+V5cDUhUM3D9kSA+5jpHu1fwFs=";
etcdServerVendorHash = "sha256-silFeLWbqqSJ8WMmlE4dDH98cCFUKLQDvs8Vhx5LnDY=";
src = applyPatches {
src = fetchFromGitHub {
owner = "etcd-io";
repo = "etcd";
tag = "v${version}";
hash = etcdSrcHash;
};
src = fetchFromGitHub {
owner = "etcd-io";
repo = "etcd";
tag = "v${version}";
hash = etcdSrcHash;
};
env = {