mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
iina: init at 1.2.0
This commit is contained in:
parent
71a636dafd
commit
ddbcb09c23
2 changed files with 34 additions and 0 deletions
32
pkgs/applications/video/iina/default.nix
Normal file
32
pkgs/applications/video/iina/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib
|
||||
, fetchurl
|
||||
, stdenv
|
||||
, undmg
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "iina";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/iina/iina/releases/download/v${version}/IINA.v${version}.dmg";
|
||||
sha256 = "sha256-kbh+gAVfCXoct6jJGXnetTAzFfIGdVLL5zh/SL/EJzY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ undmg ];
|
||||
|
||||
sourceRoot = "IINA.app";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/Applications/IINA.app"
|
||||
cp -R . "$out/Applications/IINA.app"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://iina.io/";
|
||||
description = "The modern media player for macOS";
|
||||
platforms = platforms.darwin;
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ arkivm ];
|
||||
};
|
||||
}
|
|
@ -3233,6 +3233,8 @@ with pkgs;
|
|||
|
||||
ifm = callPackage ../tools/graphics/ifm {};
|
||||
|
||||
iina = callPackage ../applications/video/iina { };
|
||||
|
||||
ink = callPackage ../tools/misc/ink { };
|
||||
|
||||
inklecate = callPackage ../development/compilers/inklecate {};
|
||||
|
|
Loading…
Reference in a new issue