1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 08:01:14 +00:00
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 17:09:47 +01:00
, 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
};
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 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
};
}