2021-05-20 23:08:51 +00:00
|
|
|
{ lib, gccStdenv, fetchFromGitHub, cmake, pkg-config, pcre, zlib, sqlite }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
gccStdenv.mkDerivation {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "falcon";
|
2021-05-20 23:08:51 +00:00
|
|
|
version = "unstable-2018-10-23";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "falconpl";
|
|
|
|
repo = "falcon";
|
2021-05-20 23:08:51 +00:00
|
|
|
rev = "637e2d5cd950a874496042993c02ab7d17c1b688";
|
|
|
|
sha256 = "iCyvvZJjXb1CR396EJ6GiP6d4e7iAc6QQlAOQoAfehg=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
# -Wnarrowing is enabled by default in recent GCC versions,
|
|
|
|
# causing compilation to fail.
|
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-narrowing";
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
buildInputs = [ pcre zlib sqlite ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Programming language with macros and syntax at once";
|
2021-05-20 23:08:51 +00:00
|
|
|
license = licenses.gpl2Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
2021-05-20 23:08:51 +00:00
|
|
|
platforms = with platforms; unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|