diff --git a/pkgs/development/tools/misc/kconfig-frontends/default.nix b/pkgs/development/tools/misc/kconfig-frontends/default.nix new file mode 100644 index 000000000000..13e02fb9272b --- /dev/null +++ b/pkgs/development/tools/misc/kconfig-frontends/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchurl, pkgconfig, bison, flex, gperf, ncurses }: + +stdenv.mkDerivation rec { + basename = "kconfig-frontends"; + version = "3.12.0.0"; + name = "${basename}-${version}"; + + src = fetchurl { + sha256 = "01zlph9bq2xzznlpmfpn0zrmhf2iqw02yh1q7g7adgkl5jk1a9pa"; + url = "http://ymorin.is-a-geek.org/download/${basename}/${name}.tar.xz"; + }; + + buildInputs = [ bison flex gperf ncurses pkgconfig ]; + + configureFlags = [ + "--enable-frontends=conf,mconf,nconf" + ]; + + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b6beb15d2bad..ec6b5e830654 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6068,6 +6068,8 @@ in jenkins-job-builder = pythonPackages.jenkins-job-builder; + kconfig-frontends = callPackage ../development/tools/misc/kconfig-frontends { }; + kcov = callPackage ../development/tools/analysis/kcov { }; lcov = callPackage ../development/tools/analysis/lcov { };