depot/third_party/nixpkgs/pkgs/applications/misc/mediaelch/default.nix
Default email b6d97fd731 Project import generated by Copybara.
GitOrigin-RevId: be0b453d7c7eee2090962c9a83749b024ff9acf5
2020-12-25 14:55:36 +01:00

41 lines
852 B
Nix

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