mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
51 lines
853 B
Nix
51 lines
853 B
Nix
|
{ stdenv
|
||
|
, lib
|
||
|
, fetchFromGitLab
|
||
|
, kio
|
||
|
, cmake
|
||
|
, extra-cmake-modules
|
||
|
, libvlc
|
||
|
, libX11
|
||
|
, kidletime
|
||
|
, kdelibs4support
|
||
|
, libXScrnSaver
|
||
|
, wrapQtAppsHook
|
||
|
, qtx11extras
|
||
|
}:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "kaffeine";
|
||
|
version = "2.0.18";
|
||
|
|
||
|
src = fetchFromGitLab {
|
||
|
domain = "invent.kde.org";
|
||
|
repo = pname;
|
||
|
owner = "Multimedia";
|
||
|
rev = "v${version}";
|
||
|
hash = "sha256-FOaS9gkzkHglbsNBNMwjzbHCNQg3Mbf+9so/Vfbaquc=";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [
|
||
|
cmake
|
||
|
extra-cmake-modules
|
||
|
wrapQtAppsHook
|
||
|
];
|
||
|
|
||
|
buildInputs = [
|
||
|
libvlc
|
||
|
libX11
|
||
|
kidletime
|
||
|
qtx11extras
|
||
|
kdelibs4support
|
||
|
libXScrnSaver
|
||
|
];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "KDE media player";
|
||
|
homepage = "https://apps.kde.org/kaffeine/";
|
||
|
license = licenses.gpl2;
|
||
|
maintainers = [ maintainers.pasqui23 ];
|
||
|
platforms = platforms.all;
|
||
|
};
|
||
|
}
|