nixpkgs/pkgs/development/libraries/qtstyleplugin-kvantum/default.nix

32 lines
982 B
Nix
Raw Normal View History

2017-07-23 19:52:17 +01:00
{ 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;
2017-07-23 20:43:56 +01:00
maintainers = [ maintainers.bugworm ];
2017-07-23 19:52:17 +01:00
};
}