2019-02-15 02:25:23 +00:00
|
|
|
{ stdenv, lib, fetchurl, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, python }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-07-18 03:18:03 +01:00
|
|
|
pname = "kdev-python";
|
2020-05-07 21:34:05 +01:00
|
|
|
version = "5.5.1";
|
2019-02-15 02:25:23 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/KDE/${pname}/archive/v${version}.tar.gz";
|
2020-05-07 21:34:05 +01:00
|
|
|
sha256 = "0k4j2kp77sz2p8s77wmcawia81bx7vfb2nnh9lqxzdk2mmlg387c";
|
2019-02-15 02:25:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-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";
|
2019-07-18 03:18:03 +01:00
|
|
|
homepage = "https://www.kdevelop.org";
|
2019-02-15 02:25:23 +00:00
|
|
|
license = [ licenses.gpl2 ];
|
|
|
|
};
|
|
|
|
}
|