2021-04-05 15:23:46 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, bison, flex, gperf, ncurses, python3, bash }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-02-10 20:34:41 +00:00
|
|
|
pname = "kconfig-frontends";
|
2020-04-24 23:36:52 +00:00
|
|
|
version = "4.11.0.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
sha256 = "1xircdw3k7aaz29snf96q2fby1cs48bidz5l1kkj0a5gbivw31i3";
|
2022-02-10 20:34:41 +00:00
|
|
|
url = "http://ymorin.is-a-geek.org/download/kconfig-frontends/kconfig-frontends-${version}.tar.xz";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
nativeBuildInputs = [ bison flex gperf pkg-config ];
|
|
|
|
buildInputs = [ bash ncurses python3 ];
|
|
|
|
|
|
|
|
strictDeps = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-frontends=conf,mconf,nconf"
|
|
|
|
];
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=format-security";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Out of Linux tree packaging of the kconfig infrastructure";
|
|
|
|
longDescription = ''
|
|
|
|
Configuration language and system for the Linux kernel and other
|
|
|
|
projects. Features simple syntax and grammar, limited yet adequate option
|
|
|
|
types, simple organization of options, and direct and reverse
|
|
|
|
dependencies.
|
|
|
|
'';
|
|
|
|
homepage = "http://ymorin.is-a-geek.org/projects/kconfig-frontends";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ mbe ];
|
|
|
|
};
|
|
|
|
}
|