bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
41 lines
877 B
Nix
41 lines
877 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, guile
|
|
, autoreconfHook
|
|
, pkg-config
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "scheme-bytestructures";
|
|
version = "2.0.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "TaylanUB";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-7FK1dXD1Qz6fFYjNUtHMaDGaezHLVaDvdgOboNNw0Lc=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
nativeBuildInputs = [
|
|
autoreconfHook guile pkg-config
|
|
];
|
|
buildInputs = [
|
|
guile
|
|
];
|
|
|
|
doCheck = true;
|
|
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
|
|
|
|
# In procedure bytevector-u8-ref: Argument 2 out of range
|
|
dontStrip = stdenv.isDarwin;
|
|
|
|
meta = with lib; {
|
|
description = "Structured access to bytevector contents";
|
|
homepage = "https://github.com/TaylanUB/scheme-bytestructures";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ ethancedwards8 ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|