kconfig-frontends: use python3
This commit is contained in:
parent
9029840dc8
commit
f812cdd3b8
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchurl, pkg-config, bison, flex, gperf, ncurses, pythonPackages }:
|
{ lib, stdenv, fetchurl, pkg-config, bison, flex, gperf, ncurses, python3, bash }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
basename = "kconfig-frontends";
|
basename = "kconfig-frontends";
|
||||||
@ -10,17 +10,15 @@ stdenv.mkDerivation rec {
|
|||||||
url = "http://ymorin.is-a-geek.org/download/${basename}/${name}.tar.xz";
|
url = "http://ymorin.is-a-geek.org/download/${basename}/${name}.tar.xz";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ bison flex gperf pkg-config ];
|
||||||
buildInputs = [ bison flex gperf ncurses pythonPackages.python pythonPackages.wrapPython ];
|
buildInputs = [ bash ncurses python3 ];
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-frontends=conf,mconf,nconf"
|
"--enable-frontends=conf,mconf,nconf"
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
wrapPythonPrograms
|
|
||||||
'';
|
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=format-security";
|
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=format-security";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user