Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d81797a
commit 1e2f49a
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters