1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/qtstyleplugin-kvantum/default.nix
2017-07-23 22:43:56 +03:00

32 lines
982 B
Nix

{ stdenv, fetchFromGitHub, qmake, qtbase, qtsvg, qtx11extras, libX11, libXext, qttools }:
stdenv.mkDerivation rec {
name = "qtstyleplugin-kvantum-${version}";
version = "0.10.4";
src = fetchFromGitHub {
owner = "tsujan";
repo = "Kvantum";
rev = "0527bb03f2252269fd382e11181a34ca72c96b4b";
sha256 = "0ky44s1fgqxraywagx1mv07yz76ppgiz3prq447db78wkwqg2d8p";
};
nativeBuildInputs = [ qmake qttools ];
buildInputs = [ qtbase qtsvg qtx11extras libX11 libXext ];
postUnpack = "sourceRoot=\${sourceRoot}/Kvantum";
postInstall= ''
mkdir -p $out/$qtPluginPrefix/styles
mv $NIX_QT5_TMP/$qtPluginPrefix/styles/libkvantum.so $out/$qtPluginPrefix/styles/libkvantum.so
'';
meta = with stdenv.lib; {
description = "SVG-based Qt5 theme engine plus a config tool and extra themes";
homepage = "https://github.com/tsujan/Kvantum";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.bugworm ];
};
}