2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, cmake, extra-cmake-modules, plasma-framework, kwindowsystem, plasma-pa, fetchFromGitHub }:
|
2018-09-04 14:59:15 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "plasma-applet-volumewin7mixer";
|
2021-05-16 09:08:32 +00:00
|
|
|
version = "26";
|
2018-09-04 14:59:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Zren";
|
|
|
|
repo = "plasma-applet-volumewin7mixer";
|
|
|
|
rev = "v${version}";
|
2021-05-16 09:08:32 +00:00
|
|
|
sha256 = "sha256-VMOUNtAURTHDuJBOGz2N0+3VzxBmVNC1O8dVuyUZAa4=";
|
2018-09-04 14:59:15 +00:00
|
|
|
};
|
|
|
|
|
2021-05-16 09:08:32 +00:00
|
|
|
# Adds the CMakeLists.txt not provided by upstream
|
2018-09-04 14:59:15 +00:00
|
|
|
patches = [ ./cmake.patch ];
|
2021-05-16 09:08:32 +00:00
|
|
|
postPatch = "rm build";
|
2018-09-04 14:59:15 +00:00
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
|
|
|
buildInputs = [ plasma-framework kwindowsystem plasma-pa ];
|
|
|
|
|
2021-01-12 11:50:23 +00:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-10-11 05:55:05 +00:00
|
|
|
description = "A fork of the default volume plasmoid with a Windows 7 theme (vertical sliders)";
|
2018-09-04 14:59:15 +00:00
|
|
|
homepage = "https://github.com/Zren/plasma-applet-volumewin7mixer";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ mdevlamynck ];
|
|
|
|
};
|
|
|
|
}
|