Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 27 lines 786 B view raw
1{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, pcre, zlib, sqlite }: 2 3stdenv.mkDerivation { 4 pname = "falcon"; 5 version = "unstable-2018-10-23"; 6 7 src = fetchFromGitHub { 8 owner = "falconpl"; 9 repo = "falcon"; 10 rev = "637e2d5cd950a874496042993c02ab7d17c1b688"; 11 sha256 = "iCyvvZJjXb1CR396EJ6GiP6d4e7iAc6QQlAOQoAfehg="; 12 }; 13 14 # -Wnarrowing is enabled by default in recent GCC versions, 15 # causing compilation to fail. 16 env.NIX_CFLAGS_COMPILE = "-Wno-narrowing"; 17 18 nativeBuildInputs = [ cmake pkg-config ]; 19 buildInputs = [ pcre zlib sqlite ]; 20 21 meta = with lib; { 22 description = "Programming language with macros and syntax at once"; 23 license = licenses.gpl2Only; 24 maintainers = with maintainers; [ pSub ]; 25 platforms = with platforms; unix; 26 }; 27}