2019-02-15 02:25:23 +00:00
|
|
|
{ stdenv, lib, fetchurl, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, python }:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "kdev-python";
|
2019-03-09 12:18:23 +00:00
|
|
|
version = "5.3.2";
|
2019-02-15 02:25:23 +00:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/KDE/${pname}/archive/v${version}.tar.gz";
|
2019-03-09 12:18:23 +00:00
|
|
|
sha256 = "0gqv1abzfpxkrf538rb62d2291lmlra8rghm9q9r3x8a46wh96zm";
|
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";
|
|
|
|
homepage = https://www.kdevelop.org;
|
|
|
|
license = [ licenses.gpl2 ];
|
|
|
|
};
|
|
|
|
}
|