Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #46045 from mdevlamynck/plasma-applet-volumewin7mixer

plasma-applet-volumewin7mixer: init at v23

authored by

Matthew Bauer and committed by
GitHub
aaef04f8 b46666a8

+53
+5
maintainers/maintainer-list.nix
··· 2571 2571 github = "mdaiter"; 2572 2572 name = "Matthew S. Daiter"; 2573 2573 }; 2574 + mdevlamynck = { 2575 + email = "matthias.devlamynck@mailoo.org"; 2576 + github = "mdevlamynck"; 2577 + name = "Matthias Devlamynck"; 2578 + }; 2574 2579 meditans = { 2575 2580 email = "meditans@gmail.com"; 2576 2581 github = "meditans";
+20
pkgs/applications/misc/plasma-applet-volumewin7mixer/cmake.patch
··· 1 + diff -Naur org.kde.plasma.volumewin7mixer/CMakeLists.txt org.kde.plasma.volumewin7mixer.patch/CMakeLists.txt 2 + --- org.kde.plasma.volumewin7mixer/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100 3 + +++ org.kde.plasma.volumewin7mixer.patch/CMakeLists.txt 2016-04-19 11:23:35.137866949 +0200 4 + @@ -0,0 +1,15 @@ 5 + +# Set minimum CMake version (required for CMake 3.0 or later) 6 + +cmake_minimum_required(VERSION 2.8.12) 7 + + 8 + +# Use Extra CMake Modules (ECM) for common functionality. 9 + +# See http://api.kde.org/ecm/manual/ecm.7.html 10 + +# and http://api.kde.org/ecm/manual/ecm-kde-modules.7.html 11 + +find_package(ECM REQUIRED NO_MODULE) 12 + +# Needed by find_package(KF5Plasma) below. 13 + +set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_MODULE_PATH}) 14 + + 15 + +# Locate plasma_install_package macro. 16 + +find_package(KF5Plasma REQUIRED) 17 + + 18 + +# Add installatation target ("make install"). 19 + +plasma_install_package(package org.kde.plasma.volumewin7mixer) 20 +
+26
pkgs/applications/misc/plasma-applet-volumewin7mixer/default.nix
··· 1 + { stdenv, cmake, extra-cmake-modules, plasma-framework, kwindowsystem, plasma-pa, fetchFromGitHub }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "plasma-applet-volumewin7mixer-${version}"; 5 + version = "23"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "Zren"; 9 + repo = "plasma-applet-volumewin7mixer"; 10 + rev = "v${version}"; 11 + sha256 = "1j2bq343lnhwqz26qfsvg7vjxv84ibzbc4y86rjkh07nqjwb3xsc"; 12 + }; 13 + 14 + patches = [ ./cmake.patch ]; 15 + postPatch = '' rm build ''; 16 + nativeBuildInputs = [ cmake extra-cmake-modules ]; 17 + buildInputs = [ plasma-framework kwindowsystem plasma-pa ]; 18 + 19 + meta = with stdenv.lib; { 20 + description = "A fork of the default volume plasmoid with a Windows 7 theme (vertical sliders)."; 21 + homepage = "https://github.com/Zren/plasma-applet-volumewin7mixer"; 22 + license = licenses.gpl2Plus; 23 + platforms = platforms.linux; 24 + maintainers = with maintainers; [ mdevlamynck ]; 25 + }; 26 + }
+2
pkgs/top-level/all-packages.nix
··· 20613 20613 pantheon-terminal = callPackage ../desktops/pantheon/apps/pantheon-terminal { }; 20614 20614 }; 20615 20615 20616 + plasma-applet-volumewin7mixer = libsForQt5.callPackage ../applications/misc/plasma-applet-volumewin7mixer { }; 20617 + 20616 20618 redshift = callPackage ../applications/misc/redshift { 20617 20619 inherit (python3Packages) python pygobject3 pyxdg wrapPython; 20618 20620 inherit (darwin.apple_sdk.frameworks) CoreLocation ApplicationServices Foundation Cocoa;