diff --git a/pkgs/development/libraries/ctypes_sh/default.nix b/pkgs/development/libraries/ctypes_sh/default.nix new file mode 100644 index 000000000000..1e12afd95ca9 --- /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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 671255daa15e..f5ca60217452 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10144,6 +10144,8 @@ in cryptominisat = callPackage ../applications/science/logic/cryptominisat { }; + ctypes_sh = callPackage ../development/libraries/ctypes_sh { }; + curlcpp = callPackage ../development/libraries/curlcpp { }; curlpp = callPackage ../development/libraries/curlpp { };