3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/editors/kdevelop5/kdev-python.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
804 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 16:34:55 +00:00
version = "5.6.2";
src = fetchurl {
url = "mirror://kde/stable/kdevelop/${version}/src/${pname}-${version}.tar.xz";
hash = "sha256-IPm3cblhJi3tmGpPMrjSWa2fe8SLsp6sCl1YU74dkX8=";
};
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 ];
};
}