From c502346767ae323b253e0faa548d9faf3324dcf5 Mon Sep 17 00:00:00 2001 From: kashw2 Date: Sun, 9 Jun 2024 16:17:10 +1000 Subject: giada: move to `finalAttrs` --- pkgs/applications/audio/giada/default.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'pkgs/applications') diff --git a/pkgs/applications/audio/giada/default.nix b/pkgs/applications/audio/giada/default.nix index 2693c31846d4e..2880bce40f8bc 100644 --- a/pkgs/applications/audio/giada/default.nix +++ b/pkgs/applications/audio/giada/default.nix @@ -21,15 +21,15 @@ , nlohmann_json }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "giada"; version = "1.0.0"; src = fetchFromGitHub { owner = "monocasual"; - repo = pname; - rev = version; - sha256 = "sha256-vTOUS9mI4B3yRNnM2dNCH7jgMuD3ztdhe1FMgXUIt58="; + repo = "giada"; + rev = finalAttrs.version; + hash = "sha256-vTOUS9mI4B3yRNnM2dNCH7jgMuD3ztdhe1FMgXUIt58="; fetchSubmodules = true; }; @@ -66,12 +66,12 @@ stdenv.mkDerivation rec { libXrandr ]; - meta = with lib; { + meta = { description = "Free, minimal, hardcore audio tool for DJs, live performers and electronic musicians"; mainProgram = "giada"; homepage = "https://giadamusic.com/"; - license = licenses.gpl3; - maintainers = with maintainers; [ kashw2 ]; - platforms = platforms.all; + license = lib.licenses.gpl3; + maintainers = with lib.maintainers; [ kashw2 ]; + platforms = lib.platforms.all; }; -} +}) -- cgit 1.4.1