mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
27 lines
769 B
Nix
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.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/KDE/${pname}/archive/v${version}.tar.gz";
|
|
sha256 = "1dazd77bkjs11h318q4ia6ijk0d0s04v0zm8lwqlgcj271sqrfqb";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|