iina: init at 1.1.2

This commit is contained in:
Jörg Thalheim 2020-05-30 03:32:55 +01:00
parent ce025026ac
commit 2ed6fbfaf1
No known key found for this signature in database
GPG key ID: 003F2096411B5F92
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ stdenv, fetchurl, undmg }:
stdenv.mkDerivation {
pname = "iina";
version = "1.1.2";
src = fetchurl {
url = "https://github.com/iina/iina/releases/download/v1.0.7-beta2/IINA.v1.0.7-beta2.dmg";
sha256 = "1w0l3b1kar9zglqkildcqhlwara6zy2p3x79kqa2d0b43nqka82n";
};
buildInputs = [ undmg ];
installPhase = ''
mkdir -p "$out/Applications/IINA.app"
cp -R . "$out/Applications/IINA.app"
chmod +x "$out/Applications/IINA.app/Contents/MacOS/IINA"
'';
meta = with stdenv.lib; {
description = "The modern video player for macOS.";
homepage = "http://https://iina.io/";
license = licenses.gpl3;
platforms = platforms.darwin;
maintainers = with maintainers; [ mic92 ];
};
}

View file

@ -21236,6 +21236,8 @@ in
icesl = callPackage ../applications/misc/icesl { };
iina = callPackage ../applications/video/iina { };
keepassx = callPackage ../applications/misc/keepassx { };
keepassx2 = callPackage ../applications/misc/keepassx/2.0.nix { };
keepassxc = libsForQt5.callPackage ../applications/misc/keepassx/community.nix { };