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