nixpkgs/pkgs/applications/editors/kdevelop5/kdev-python.nix
Aaron Andersen b6a1c9161b kdevelop: 5.4.4 -> 5.4.5
kdev-php: 5.4.4 -> 5.4.5
kdev-python: 5.4.4 -> 5.4.5
2019-12-02 16:24:58 -05:00

27 lines
769 B
Nix

{ stdenv, lib, fetchurl, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, python }:
stdenv.mkDerivation rec {
pname = "kdev-python";
version = "5.4.5";
src = fetchurl {
url = "https://github.com/KDE/${pname}/archive/v${version}.tar.gz";
sha256 = "1iq4lxbl8gq4qvydyz34ild4izw21cp22adlz9dc054v0wis331j";
};
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 ];
};
}