mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
30 lines
954 B
Nix
30 lines
954 B
Nix
{ lib, stdenv, cmake, extra-cmake-modules, plasma-framework, kwindowsystem, plasma-pa, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "plasma-applet-volumewin7mixer";
|
|
version = "26";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Zren";
|
|
repo = "plasma-applet-volumewin7mixer";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-VMOUNtAURTHDuJBOGz2N0+3VzxBmVNC1O8dVuyUZAa4=";
|
|
};
|
|
|
|
# Adds the CMakeLists.txt not provided by upstream
|
|
patches = [ ./cmake.patch ];
|
|
postPatch = "rm build";
|
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
|
buildInputs = [ plasma-framework kwindowsystem plasma-pa ];
|
|
|
|
dontWrapQtApps = true;
|
|
|
|
meta = with lib; {
|
|
description = "Fork of the default volume plasmoid with a Windows 7 theme (vertical sliders)";
|
|
homepage = "https://github.com/Zren/plasma-applet-volumewin7mixer";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ mdevlamynck ];
|
|
};
|
|
}
|