blob: b2bca22433cc23404aa4ef82b9f52f66b02c0438 (
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
|
{ stdenv
, fetchurl
, gnumake40
, skalibs
}:
let
version = "2.0.0.0";
in stdenv.mkDerivation rec {
name = "execline-${version}";
src = fetchurl {
url = "http://skarnet.org/software/execline/${name}.tar.gz";
sha256 = "1g5v6icxsf7p2ccj9iq85iikkm12xph65ri86ydakihv6al3jw71";
};
dontDisableStatic = true;
buildInputs = [ gnumake40 ];
configureFlags = [
"--libdir=\${prefix}/lib"
"--includedir=\${prefix}/include"
"--with-sysdeps=${skalibs}/lib/skalibs/sysdeps"
"--with-include=${skalibs}/include"
"--with-lib=${skalibs}/lib"
"--with-dynlib=${skalibs}/lib"
] ++ (if stdenv.isDarwin then [ "--disable-shared" ] else [ "--enable-shared" ]);
meta = {
homepage = http://skarnet.org/software/execline/;
description = "A small scripting language, to be used in place of a shell in non-interactive scripts";
platforms = stdenv.lib.platforms.all;
license = stdenv.lib.licenses.isc;
};
}
|