mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
f9fdf2d402
with structuredAttrs lists will be bash arrays which cannot be exported which will be a issue with some patches and some wrappers like cc-wrapper this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists in env cause a eval failure
37 lines
1.2 KiB
Nix
37 lines
1.2 KiB
Nix
{ lib, stdenv, fetchurl, pkg-config, bison, flex, gperf, ncurses, python3, bash }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "kconfig-frontends";
|
|
version = "4.11.0.1";
|
|
|
|
src = fetchurl {
|
|
sha256 = "1xircdw3k7aaz29snf96q2fby1cs48bidz5l1kkj0a5gbivw31i3";
|
|
url = "http://ymorin.is-a-geek.org/download/kconfig-frontends/kconfig-frontends-${version}.tar.xz";
|
|
};
|
|
|
|
nativeBuildInputs = [ bison flex gperf pkg-config ];
|
|
buildInputs = [ bash ncurses python3 ];
|
|
|
|
strictDeps = true;
|
|
|
|
configureFlags = [
|
|
"--enable-frontends=conf,mconf,nconf"
|
|
];
|
|
|
|
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=format-security";
|
|
|
|
meta = with lib; {
|
|
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 ];
|
|
};
|
|
}
|