b373156539
mediaelch: 2.8.2 -> 2.8.4
41 lines
850 B
Nix
41 lines
850 B
Nix
{ lib, stdenv
|
|
, mkDerivation
|
|
, fetchFromGitHub
|
|
, qmake
|
|
, curl
|
|
, ffmpeg
|
|
, libmediainfo
|
|
, libzen
|
|
, qtbase
|
|
, qtdeclarative
|
|
, qtmultimedia
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "mediaelch";
|
|
version = "2.8.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Komet";
|
|
repo = "MediaElch";
|
|
rev = "v${version}";
|
|
sha256 = "00jwmpdwbn6rgaha0iimcbwg9pwb8ilpjgxhv0p13j2c6dcisjzh";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
nativeBuildInputs = [ qmake ];
|
|
|
|
buildInputs = [ curl libmediainfo libzen ffmpeg qtbase qtdeclarative qtmultimedia ];
|
|
|
|
prePatch = ''
|
|
substituteInPlace MediaElch.pro --replace "/usr" "$out"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://mediaelch.de/mediaelch/";
|
|
description = "Media Manager for Kodi";
|
|
license = licenses.lgpl3Only;
|
|
maintainers = with maintainers; [ stunkymonkey ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|