blob: 56b463087f3d33dd86d1eafeeb2d174aa07e2a4c (
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
|
{ lib, stdenv
, fetchFromGitHub
, autoreconfHook, pkg-config
, zlib, libffi, elfutils, libdwarf
}:
stdenv.mkDerivation rec {
pname = "ctypes.sh";
version = "1.2";
src = fetchFromGitHub {
owner = "taviso";
repo = pname;
rev = "v${version}";
sha256 = "1wafyfhwd7nf7xdici0djpwgykizaz7jlarn0r1b4spnpjx1zbx4";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ zlib libffi elfutils libdwarf ];
meta = with lib; {
description = "Foreign function interface for bash";
mainProgram = "ctypes.sh";
homepage = "https://github.com/taviso/ctypes.sh";
license = licenses.mit;
maintainers = with maintainers; [ tadeokondrak ];
platforms = platforms.unix;
};
}
|