summary refs log tree commit diff
path: root/pkgs/tools/misc/execline/default.nix
blob: 6bfb1852f870b99cdc52ec1ad08e34a08f536901 (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
{ stdenv
, fetchurl
, skalibs
, skarnetConfCompile
}:

let

  version = "1.3.1.1";

in stdenv.mkDerivation rec {

  name = "execline-${version}";

  src = fetchurl {
    url = "http://skarnet.org/software/execline/${name}.tar.gz";
    sha256 = "1br3qzif166kbp4k813ljbyq058p7mfsp2lj88n8vi4dmj935nzg";
  };

  buildInputs = [ skalibs skarnetConfCompile ];

  sourceRoot = "admin/${name}";

  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;
  };

}