iina: use finalAttrs pattern

(cherry picked from commit 0cac0b7e95)
This commit is contained in:
DontEatOreo 2024-06-02 01:31:41 +03:00 committed by Yaya
parent 020818d7c8
commit a19382dc8b

View File

@ -5,12 +5,12 @@
, nix-update-script
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "iina";
version = "1.3.5";
src = fetchurl {
url = "https://github.com/iina/iina/releases/download/v${version}/IINA.v${version}.dmg";
url = "https://github.com/iina/iina/releases/download/v${finalAttrs.version}/IINA.v${finalAttrs.version}.dmg";
hash = "sha256-O4uRmfQaGMKqizDlgk0MnazMHVkXaDLqZQ9TP8vcajg=";
};
@ -35,4 +35,4 @@ stdenv.mkDerivation rec {
mainProgram = "iina";
maintainers = with maintainers; [ arkivm donteatoreo stepbrobd ];
};
}
})