2022-05-22 17:33:08 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, pcre, zlib, sqlite }:
|
2009-07-09 22:30:19 +00:00
|
|
|
|
2022-05-22 17:33:08 +00:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "falcon";
|
2020-12-31 12:44:01 +00:00
|
|
|
version = "unstable-2018-10-23";
|
2009-07-09 22:30:19 +00:00
|
|
|
|
2014-09-23 21:51:50 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "falconpl";
|
|
|
|
repo = "falcon";
|
2020-12-31 12:44:01 +00:00
|
|
|
rev = "637e2d5cd950a874496042993c02ab7d17c1b688";
|
|
|
|
sha256 = "iCyvvZJjXb1CR396EJ6GiP6d4e7iAc6QQlAOQoAfehg=";
|
2014-09-23 21:51:50 +00:00
|
|
|
};
|
2009-07-09 22:30:19 +00:00
|
|
|
|
2021-05-08 09:12:52 +00:00
|
|
|
# -Wnarrowing is enabled by default in recent GCC versions,
|
|
|
|
# causing compilation to fail.
|
2023-02-19 19:23:32 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = "-Wno-narrowing";
|
2021-05-08 09:12:52 +00:00
|
|
|
|
2021-01-23 12:47:34 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
buildInputs = [ pcre zlib sqlite ];
|
2009-07-09 22:30:19 +00:00
|
|
|
|
2021-01-23 13:15:07 +00:00
|
|
|
meta = with lib; {
|
2013-10-06 09:49:53 +00:00
|
|
|
description = "Programming language with macros and syntax at once";
|
2021-05-08 09:12:52 +00:00
|
|
|
license = licenses.gpl2Only;
|
2014-09-23 21:51:50 +00:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
2020-12-31 12:44:01 +00:00
|
|
|
platforms = with platforms; unix;
|
2009-07-09 22:30:19 +00:00
|
|
|
};
|
|
|
|
}
|