nixpkgs/pkgs/misc/themes/qtcurve/default.nix

44 lines
988 B
Nix
Raw Normal View History

2014-05-08 17:09:47 +01:00
{ stdenv, fetchurl, cmake, gettext, pkgconfig # Build tools
, gtk2, kde_workspace, kdelibs # Toolkit dependencies
, libpthreadstubs, libXdmcp, libxcb, xorg # X11 dependencies
2014-05-08 17:09:47 +01:00
}:
2013-12-28 15:42:10 +00:00
stdenv.mkDerivation {
2014-05-08 17:09:47 +01:00
name = "qtcurve-1.8.18";
2013-12-28 15:42:10 +00:00
src = fetchurl {
2014-05-08 17:09:47 +01:00
url = "https://github.com/QtCurve/qtcurve/archive/1.8.18.tar.gz";
sha256 = "19kk11hgi6md1cl0hr0pklcczbl66jczahlkf5fr8j59ljgpr6c5";
2013-12-28 15:42:10 +00:00
};
buildInputs = [
cmake
gettext
gtk2
kde_workspace
kdelibs
libpthreadstubs
libXdmcp
libxcb
pkgconfig
xorg.libxshmfence
2013-12-28 15:42:10 +00:00
];
2014-05-08 18:54:36 +01:00
patches = [
./qtcurve-1.8.18-install-paths.patch
./qtcurve-1.8.18-toolbar-alpha.patch
];
2013-12-28 15:42:10 +00:00
cmakeFlags = ''
-DENABLE_QT5=OFF
-DQTC_QT4_ENABLE_KWIN=ON
'';
meta = with stdenv.lib; {
2013-12-28 15:42:10 +00:00
homepage = https://github.com/QtCurve/qtcurve;
description = "Widget styles for Qt4/KDE4 and gtk2";
platforms = platforms.linux;
license = licenses.lgpl21Plus;
maintainers = [ maintainers.ttuegel ];
2013-12-28 15:42:10 +00:00
};
}