app2unit: switch from `rec` to `finalAttrs`

Ali Rizvi c4e90b66 bdd51d78

+3 -3
+3 -3
pkgs/by-name/ap/app2unit/package.nix
··· 6 fetchFromGitHub, 7 nix-update-script, 8 }: 9 - stdenvNoCC.mkDerivation rec { 10 pname = "app2unit"; 11 version = "1.1.2"; 12 13 src = fetchFromGitHub { 14 owner = "Vladimir-csp"; 15 repo = "app2unit"; 16 - tag = "v${version}"; 17 sha256 = "sha256-M2sitlrQNSLthSaDH+R8gUcZ8i+o1ktf2SB/vvjyJEI="; 18 }; 19 ··· 54 maintainers = with lib.maintainers; [ fazzi ]; 55 platforms = lib.platforms.linux; 56 }; 57 - }
··· 6 fetchFromGitHub, 7 nix-update-script, 8 }: 9 + stdenvNoCC.mkDerivation (finalAttrs: { 10 pname = "app2unit"; 11 version = "1.1.2"; 12 13 src = fetchFromGitHub { 14 owner = "Vladimir-csp"; 15 repo = "app2unit"; 16 + tag = "v${finalAttrs.version}"; 17 sha256 = "sha256-M2sitlrQNSLthSaDH+R8gUcZ8i+o1ktf2SB/vvjyJEI="; 18 }; 19 ··· 54 maintainers = with lib.maintainers; [ fazzi ]; 55 platforms = lib.platforms.linux; 56 }; 57 + })