diff options
author | Tadeo Kondrak <me@tadeo.ca> | 2019-06-18 20:37:35 -0600 |
---|---|---|
committer | Matthieu Coudron <coudron@iij.ad.jp> | 2019-06-19 11:33:18 +0200 |
commit | 1e2f49abd1644c190cc314d9e22b955e53595067 (patch) | |
tree | c076adb31a94beb80b8050213bc210af1f92f51c /pkgs/development/libraries/ctypes_sh | |
parent | d81797a248ca46e8964adabcf7de44523ee0007a (diff) |
ctypes_sh: init at 1.1
Diffstat (limited to 'pkgs/development/libraries/ctypes_sh')
-rw-r--r-- | pkgs/development/libraries/ctypes_sh/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/libraries/ctypes_sh/default.nix b/pkgs/development/libraries/ctypes_sh/default.nix new file mode 100644 index 0000000000000..1e12afd95ca92 --- /dev/null +++ b/pkgs/development/libraries/ctypes_sh/default.nix @@ -0,0 +1,28 @@ +{ stdenv +, fetchFromGitHub +, autoreconfHook, pkgconfig +, zlib, libffi, elfutils, libdwarf +}: + +stdenv.mkDerivation rec { + pname = "ctypes.sh"; + version = "1.1"; + + src = fetchFromGitHub { + owner = "taviso"; + repo = pname; + rev = "v${version}"; + sha256 = "07rqbdxw33h92mllh0srymjjx52mddafs3jyzqpsflq3v0l0dk37"; + }; + + nativeBuildInputs = [ autoreconfHook pkgconfig ]; + buildInputs = [ zlib libffi elfutils libdwarf ]; + + meta = with stdenv.lib; { + description = "A foreign function interface for bash"; + homepage = "https://github.com/taviso/ctypes.sh"; + license = licenses.mit; + maintainers = with maintainers; [ tadeokondrak ]; + platforms = platforms.unix; + }; +} |