2010-05-05 20:18:05 +02:00
|
|
|
{ stdenv, fetchurl, kdevplatform, cmake, pkgconfig, automoc4, shared_mime_info,
|
2012-04-04 18:14:57 +02:00
|
|
|
kdebase_workspace, gettext, perl, okteta }:
|
2010-05-05 20:18:05 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-10-05 07:43:39 +02:00
|
|
|
name = "${pname}-${version}";
|
2012-08-08 11:45:40 +02:00
|
|
|
version = "4.3.1";
|
2010-10-05 07:43:39 +02:00
|
|
|
pname = "kdevelop";
|
2010-05-05 20:18:05 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-10-05 07:43:39 +02:00
|
|
|
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.bz2";
|
2012-08-08 11:45:40 +02:00
|
|
|
sha256 = "0015hv39rqhyq1w6jw65lx7ls4l5pc3a2asvd5zsd65831vrfxxs";
|
2010-05-05 20:18:05 +02:00
|
|
|
};
|
|
|
|
|
2012-04-04 18:14:57 +02:00
|
|
|
buildInputs = [ kdevplatform kdebase_workspace okteta ];
|
|
|
|
|
2012-12-28 19:20:09 +01:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig automoc4 shared_mime_info gettext perl ];
|
2011-08-16 01:39:20 +02:00
|
|
|
|
2012-08-08 11:45:40 +02:00
|
|
|
patches =
|
|
|
|
[ ( fetchurl {
|
|
|
|
url = https://git.reviewboard.kde.org/r/105211/diff/raw/;
|
|
|
|
name = "okteta-0.9.patch"; # fixes build with KDE-4.9.x
|
|
|
|
sha256 = "1mvqhw7jr1vi66l3jgam3slyfafcvwy4g3iapfi69dpfnzhmcxl0";
|
|
|
|
} )
|
|
|
|
];
|
|
|
|
|
2011-08-16 01:39:20 +02:00
|
|
|
NIX_CFLAGS_COMPILE = "-I${okteta}/include/KDE";
|
2010-05-07 09:38:35 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
maintainers = [ maintainers.urkud ];
|
2010-05-07 12:02:52 +02:00
|
|
|
platforms = platforms.linux;
|
2010-05-07 09:38:35 +02:00
|
|
|
description = "KDE official IDE";
|
2010-05-07 12:02:52 +02:00
|
|
|
longDescription =
|
|
|
|
''
|
|
|
|
A free, opensource IDE (Integrated Development Environment)
|
|
|
|
for MS Windows, Mac OsX, Linux, Solaris and FreeBSD. It is a
|
|
|
|
feature-full, plugin extendable IDE for C/C++ and other
|
|
|
|
programing languages. It is based on KDevPlatform, KDE and Qt
|
|
|
|
libraries and is under development since 1998.
|
|
|
|
'';
|
2010-05-07 09:38:35 +02:00
|
|
|
homepage = http://www.kdevelop.org;
|
|
|
|
};
|
2010-05-05 20:18:05 +02:00
|
|
|
}
|