mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 19:45:54 +00:00
4ccb74011f
There was one conflict in the NixOS manual; I checked that it still built after resolving it.
30 lines
806 B
Nix
30 lines
806 B
Nix
{ stdenv, lib, fetchurl, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, python }:
|
|
|
|
let
|
|
pname = "kdev-python";
|
|
version = "5.3.2";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/KDE/${pname}/archive/v${version}.tar.gz";
|
|
sha256 = "0gqv1abzfpxkrf538rb62d2291lmlra8rghm9q9r3x8a46wh96zm";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|