Merge pull request #55872 from aanderse/kdevelop-php
kdevelop: added ability to include kdevelop plugins, kdev-php: init at 5.3.1, kdev-python: init at 5.3.1wip/yesman
commit
160abfe3ec
@ -0,0 +1,29 @@ |
||||
{ stdenv, lib, fetchurl, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, kdevelop-pg-qt }: |
||||
|
||||
let |
||||
pname = "kdev-php"; |
||||
version = "5.3.1"; |
||||
in |
||||
stdenv.mkDerivation rec { |
||||
name = "${pname}-${version}"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://github.com/KDE/${pname}/archive/v${version}.tar.gz"; |
||||
sha256 = "1xiz4v6w30dsa7l4nk3jw3hxpkx71b0yaaj2k8s7xzgjif824bgl"; |
||||
}; |
||||
|
||||
cmakeFlags = [ |
||||
"-DBUILD_TESTING=OFF" |
||||
]; |
||||
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules ]; |
||||
buildInputs = [ kdevelop-pg-qt threadweaver ktexteditor kdevelop-unwrapped ]; |
||||
|
||||
meta = with lib; { |
||||
maintainers = [ maintainers.aanderse ]; |
||||
platforms = platforms.linux; |
||||
description = "PHP support for KDevelop"; |
||||
homepage = https://www.kdevelop.org; |
||||
license = [ licenses.gpl2 ]; |
||||
}; |
||||
} |
@ -0,0 +1,30 @@ |
||||
{ stdenv, lib, fetchurl, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, python }: |
||||
|
||||
let |
||||
pname = "kdev-python"; |
||||
version = "5.3.1"; |
||||
in |
||||
stdenv.mkDerivation rec { |
||||
name = "${pname}-${version}"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://github.com/KDE/${pname}/archive/v${version}.tar.gz"; |
||||
sha256 = "11hf8n6vrlaz31c0p3xbnf0df2q5j6ykgc9ip0l5g33kadwn5b9j"; |
||||
}; |
||||
|
||||
cmakeFlags = [ |
||||
"-DBUILD_TESTING=OFF" |
||||
"-DPYTHON_EXECUTABLE=${python}/bin/python" |
||||
]; |
||||
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules ]; |
||||
buildInputs = [ threadweaver ktexteditor kdevelop-unwrapped ]; |
||||
|
||||
meta = with lib; { |
||||
maintainers = [ maintainers.aanderse ]; |
||||
platforms = platforms.linux; |
||||
description = "Python support for KDevelop"; |
||||
homepage = https://www.kdevelop.org; |
||||
license = [ licenses.gpl2 ]; |
||||
}; |
||||
} |
@ -0,0 +1,7 @@ |
||||
{ symlinkJoin, kdevelop-unwrapped, plugins ? null }: |
||||
|
||||
symlinkJoin { |
||||
name = "kdevelop-with-plugins"; |
||||
|
||||
paths = [ kdevelop-unwrapped ] ++ (if plugins != null then plugins else []); |
||||
} |
Loading…
Reference in new issue