dbus-broker: v32 -> v33

Release: https://github.com/bus1/dbus-broker/releases/tag/v33
Diff: https://github.com/bus1/dbus-broker/compare/v32...v33

dbus-broker: adopt finalAttrs pattern

+9 -8
+9 -8
pkgs/os-specific/linux/dbus-broker/default.nix
··· 11 }: 12 13 let 14 dep = { pname, version, hash, rev ? "v${version}", buildInputs ? [ ] }: 15 stdenv.mkDerivation { 16 inherit pname version; ··· 30 c-dvar = dep { pname = "c-dvar"; version = "1.0.0"; hash = "sha256-P7y7gUHXQn2eyS6IcV7m7yGy4VGtQ2orgBkS7Y729ZY="; buildInputs = [ c-stdaux c-utf8 ]; }; 31 c-ini = dep { pname = "c-ini"; version = "1.0.0"; hash = "sha256-VKxoGexMcquakMmiH5IJt0382TjkV1FLncTSyEqf4X0="; buildInputs = [ c-list c-rbtree c-stdaux c-utf8 ]; }; 32 c-list = dep { pname = "c-list"; version = "3.1.0"; hash = "sha256-fp3EAqcbFCLaT2EstLSzwP2X13pi2EFpFAullhoCtpw="; }; 33 - # TODO: Fetch c-rbtree from a tag after its next release 34 - c-rbtree = dep { pname = "c-rbtree"; version = "unstable-2022-07-07"; rev = "431a4746705223673e43940ca1ad9b5f52473a4b"; hash = "sha256-ExSPgNqhTjSwRgYfZOAyoaehOpFNHKFqPYkcCfptkrs="; buildInputs = [ c-stdaux ]; }; 35 c-shquote = dep { pname = "c-shquote"; version = "1.0.0"; hash = "sha256-Ze1enX0VJ6Xi5e4EhWzaiHc7PnuaifrUP+JuJnauv5c="; buildInputs = [ c-stdaux ]; }; 36 - c-stdaux = dep { pname = "c-stdaux"; version = "1.2.0"; hash = "sha256-/D+IFdqn1XHDfdOsDnLMO5IHQ5B4P4ELyMpRcPBg/4s="; }; 37 c-utf8 = dep { pname = "c-utf8"; version = "1.0.0"; hash = "sha256-QEnjmfQ6kxJdsHfyRgXAlP+oGrKLYQ0m9r+D2L+pizI="; buildInputs = [ c-stdaux ]; }; 38 39 in 40 - stdenv.mkDerivation rec { 41 pname = "dbus-broker"; 42 - version = "32"; 43 44 src = fetchFromGitHub { 45 owner = "bus1"; 46 repo = "dbus-broker"; 47 - rev = "v${version}"; 48 - hash = "sha256-PVdRyg/t6D3HjSHeap5L8AiEm39iSO5qXohLw2UAUYY="; 49 }; 50 51 patches = [ ./paths.patch ]; ··· 92 maintainers = with maintainers; [ peterhoeg ]; 93 platforms = platforms.linux; 94 }; 95 - }
··· 11 }: 12 13 let 14 + 15 dep = { pname, version, hash, rev ? "v${version}", buildInputs ? [ ] }: 16 stdenv.mkDerivation { 17 inherit pname version; ··· 31 c-dvar = dep { pname = "c-dvar"; version = "1.0.0"; hash = "sha256-P7y7gUHXQn2eyS6IcV7m7yGy4VGtQ2orgBkS7Y729ZY="; buildInputs = [ c-stdaux c-utf8 ]; }; 32 c-ini = dep { pname = "c-ini"; version = "1.0.0"; hash = "sha256-VKxoGexMcquakMmiH5IJt0382TjkV1FLncTSyEqf4X0="; buildInputs = [ c-list c-rbtree c-stdaux c-utf8 ]; }; 33 c-list = dep { pname = "c-list"; version = "3.1.0"; hash = "sha256-fp3EAqcbFCLaT2EstLSzwP2X13pi2EFpFAullhoCtpw="; }; 34 + c-rbtree = dep { pname = "c-rbtree"; version = "3.1.0"; hash = "sha256-ozVzL6FllAn8eHbso0RZc/+PGWwEp6r/R1MR+r4Bi/4="; buildInputs = [ c-stdaux ]; }; 35 c-shquote = dep { pname = "c-shquote"; version = "1.0.0"; hash = "sha256-Ze1enX0VJ6Xi5e4EhWzaiHc7PnuaifrUP+JuJnauv5c="; buildInputs = [ c-stdaux ]; }; 36 + c-stdaux = dep { pname = "c-stdaux"; version = "1.4.0"; hash = "sha256-gEqXVBAUE0dHD03ina9QbEP26NU12cHKRpuD7GoPmDs="; }; 37 c-utf8 = dep { pname = "c-utf8"; version = "1.0.0"; hash = "sha256-QEnjmfQ6kxJdsHfyRgXAlP+oGrKLYQ0m9r+D2L+pizI="; buildInputs = [ c-stdaux ]; }; 38 39 in 40 + 41 + stdenv.mkDerivation ( finalAttrs: { 42 pname = "dbus-broker"; 43 + version = "33"; 44 45 src = fetchFromGitHub { 46 owner = "bus1"; 47 repo = "dbus-broker"; 48 + rev = "v${finalAttrs.version}"; 49 + hash = "sha256-c5kEUB2k9CCuno9d4QOUUp1wbQfsvraGDLN6Yaa7T2w="; 50 }; 51 52 patches = [ ./paths.patch ]; ··· 93 maintainers = with maintainers; [ peterhoeg ]; 94 platforms = platforms.linux; 95 }; 96 + } )