Merge pull request #242520 from StepBroBD/iina
iina: fix 1.3.2 hash mismatch and add passthru.updateScript
This commit is contained in:
commit
73e8d61d9d
@ -2,6 +2,7 @@
|
||||
, fetchurl
|
||||
, stdenv
|
||||
, undmg
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -10,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/iina/iina/releases/download/v${version}/IINA.v${version}.dmg";
|
||||
hash = "sha256-yieAcMc3rqoURsAcc8iAbe1pohlAU3r76FsgUeiNTP8=";
|
||||
hash = "sha256-rF5yv2QHWVUUsyf/u78jWRn4C629GBJgB/i8YnaKHBk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ undmg ];
|
||||
@ -22,11 +23,13 @@ stdenv.mkDerivation rec {
|
||||
cp -R . "$out/Applications/IINA.app"
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://iina.io/";
|
||||
description = "The modern media player for macOS";
|
||||
platforms = platforms.darwin;
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ arkivm ];
|
||||
maintainers = with maintainers; [ arkivm stepbrobd ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user