blob: e6570c2e89194ee651390cb80b47ef070b6bc123 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{ lib
, stdenv
, fetchurl
, zlib
}:
stdenv.mkDerivation rec {
pname = "boron";
version = "2.1.0";
src = fetchurl {
url = "https://sourceforge.net/projects/urlan/files/Boron/boron-${version}.tar.gz";
sha256 = "sha256-50HKcK2hQpe9k9RIoVa/N5krTRKlW9AsGYTmHITx7Nc=";
};
# this is not a standard Autotools-like `configure` script
dontAddPrefix = true;
preConfigure = ''
patchShebangs configure
'';
configureFlags = [ "--thread" ];
makeFlags = [ "DESTDIR=$(out)" ];
buildInputs = [
zlib
];
installTargets = [ "install" "install-dev" ];
doCheck = true;
checkPhase = ''
patchShebangs .
make -C test
'';
meta = with lib; {
homepage = "https://urlan.sourceforge.net/boron/";
description = "Scripting language and C library useful for building DSLs";
mainProgram = "boron";
license = licenses.lgpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ mausch ];
};
}
|