nixpkgs/pkgs/applications/editors/kdevelop5/kdev-python.nix

29 lines
794 B
Nix
Raw Normal View History

{ stdenv, lib, fetchurl, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, python }:
stdenv.mkDerivation rec {
pname = "kdev-python";
2021-02-04 17:34:55 +01:00
version = "5.6.2";
src = fetchurl {
url = "https://github.com/KDE/${pname}/archive/v${version}.tar.gz";
2021-02-04 17:34:55 +01:00
sha256 = "sha256-Iw3puQ3ZS0eNfBvaZ4cxsP49IRqIMX3R+r3OPG771RI=";
};
cmakeFlags = [
"-DPYTHON_EXECUTABLE=${python}/bin/python"
];
nativeBuildInputs = [ cmake extra-cmake-modules ];
buildInputs = [ threadweaver ktexteditor kdevelop-unwrapped ];
dontWrapQtApps = true;
meta = with lib; {
maintainers = [ maintainers.aanderse ];
platforms = platforms.linux;
description = "Python support for KDevelop";
homepage = "https://www.kdevelop.org";
license = [ licenses.gpl2 ];
};
}