2018-09-08 01:31:33 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, bison, flex, gperf, ncurses, pythonPackages }:
|
2016-04-20 05:12:04 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
basename = "kconfig-frontends";
|
2018-09-08 01:00:54 +01:00
|
|
|
version = "4.11.0.1";
|
2016-04-20 05:12:04 +01:00
|
|
|
name = "${basename}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-09-08 01:00:54 +01:00
|
|
|
sha256 = "1xircdw3k7aaz29snf96q2fby1cs48bidz5l1kkj0a5gbivw31i3";
|
2016-04-20 05:12:04 +01:00
|
|
|
url = "http://ymorin.is-a-geek.org/download/${basename}/${name}.tar.xz";
|
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-09-08 01:31:33 +01:00
|
|
|
buildInputs = [ bison flex gperf ncurses pythonPackages.python pythonPackages.wrapPython ];
|
2016-04-20 05:12:04 +01:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-frontends=conf,mconf,nconf"
|
|
|
|
];
|
|
|
|
|
2018-09-08 01:31:33 +01:00
|
|
|
postInstall = ''
|
|
|
|
wrapPythonPrograms
|
|
|
|
'';
|
|
|
|
|
2019-06-06 03:52:58 +01:00
|
|
|
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=format-security";
|
|
|
|
|
2016-04-20 05:12:04 +01:00
|
|
|
meta = with stdenv.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 ];
|
|
|
|
};
|
|
|
|
}
|