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

44 lines
1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, automoc4, cmake, gettext, perl, pkgconfig
2014-05-08 16:09:47 +00:00
, gtk2, kde_workspace, kdelibs # Toolkit dependencies
, libpthreadstubs, libXdmcp, libxcb, xorg # X11 dependencies
2014-05-08 16:09:47 +00:00
}:
2013-12-28 15:42:10 +00:00
stdenv.mkDerivation {
2014-05-08 16:09:47 +00:00
name = "qtcurve-1.8.18";
2013-12-28 15:42:10 +00:00
src = fetchurl {
2014-05-08 16:09:47 +00:00
url = "https://github.com/QtCurve/qtcurve/archive/1.8.18.tar.gz";
sha256 = "19kk11hgi6md1cl0hr0pklcczbl66jczahlkf5fr8j59ljgpr6c5";
2013-12-28 15:42:10 +00:00
};
nativeBuildInputs = [ automoc4 cmake gettext perl pkgconfig ];
2013-12-28 15:42:10 +00:00
buildInputs = [
gtk2
kde_workspace
kdelibs
libpthreadstubs
libXdmcp
libxcb
pkgconfig
xorg.libxshmfence
2013-12-28 15:42:10 +00:00
];
2014-05-08 17:54:36 +00: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
};
}