Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 36 lines 1.2 kB view raw
1{ lib, stdenv, fetchurl, pkg-config, bison, flex, gperf, ncurses, python3, bash }: 2 3stdenv.mkDerivation rec { 4 pname = "kconfig-frontends"; 5 version = "4.11.0.1"; 6 7 src = fetchurl { 8 sha256 = "1xircdw3k7aaz29snf96q2fby1cs48bidz5l1kkj0a5gbivw31i3"; 9 url = "http://ymorin.is-a-geek.org/download/kconfig-frontends/kconfig-frontends-${version}.tar.xz"; 10 }; 11 12 nativeBuildInputs = [ bison flex gperf pkg-config ]; 13 buildInputs = [ bash ncurses python3 ]; 14 15 strictDeps = true; 16 17 configureFlags = [ 18 "--enable-frontends=conf,mconf,nconf" 19 ]; 20 21 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=format-security"; 22 23 meta = with lib; { 24 description = "Out of Linux tree packaging of the kconfig infrastructure"; 25 longDescription = '' 26 Configuration language and system for the Linux kernel and other 27 projects. Features simple syntax and grammar, limited yet adequate option 28 types, simple organization of options, and direct and reverse 29 dependencies. 30 ''; 31 homepage = "http://ymorin.is-a-geek.org/projects/kconfig-frontends"; 32 license = licenses.gpl2; 33 platforms = platforms.unix; 34 maintainers = with maintainers; [ mbe ]; 35 }; 36}