diff options
author | Felix Buehler <account@buehler.rocks> | 2020-12-21 12:57:26 +0100 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2020-12-22 20:22:10 +0100 |
commit | d130a65903b66ae0297717beefee03ccc206d9c2 (patch) | |
tree | 493742c7aa8f396e7255a543924fade0dbad80ba /pkgs/applications | |
parent | 6be8a0ecd74c8f393283d194f439f94d07e04b56 (diff) |
MediaElch: init at 2.8.2
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/misc/mediaelch/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/applications/misc/mediaelch/default.nix b/pkgs/applications/misc/mediaelch/default.nix new file mode 100644 index 000000000000..c4ed0c975eab --- /dev/null +++ b/pkgs/applications/misc/mediaelch/default.nix @@ -0,0 +1,41 @@ +{ 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; + }; +} |