2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, cmake, extra-cmake-modules, plasma-framework, kwindowsystem, plasma-pa, fetchFromGitHub }:
|
2018-09-04 16:59:15 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "plasma-applet-volumewin7mixer";
|
2020-07-06 08:45:36 +02:00
|
|
|
version = "25";
|
2018-09-04 16:59:15 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Zren";
|
|
|
|
repo = "plasma-applet-volumewin7mixer";
|
|
|
|
rev = "v${version}";
|
2020-07-06 08:45:36 +02:00
|
|
|
sha256 = "1nvz0a06qb3pfk8dfh5n5vgf3psd6k0j3vms9pskr511qsxw0dfi";
|
2018-09-04 16:59:15 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./cmake.patch ];
|
2021-01-24 10:19:10 +01:00
|
|
|
postPatch = "rm build ";
|
2018-09-04 16:59:15 +02:00
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
|
|
|
buildInputs = [ plasma-framework kwindowsystem plasma-pa ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-10-11 07:55:05 +02:00
|
|
|
description = "A fork of the default volume plasmoid with a Windows 7 theme (vertical sliders)";
|
2018-09-04 16:59:15 +02:00
|
|
|
homepage = "https://github.com/Zren/plasma-applet-volumewin7mixer";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ mdevlamynck ];
|
|
|
|
};
|
|
|
|
}
|