2021-06-28 23:13:55 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, guile
|
|
|
|
, autoreconfHook
|
|
|
|
, pkg-config
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "scheme-bytestructures";
|
2024-06-20 14:57:18 +00:00
|
|
|
version = "2.0.2";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "TaylanUB";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-06-20 14:57:18 +00:00
|
|
|
sha256 = "sha256-7FK1dXD1Qz6fFYjNUtHMaDGaezHLVaDvdgOboNNw0Lc=";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
strictDeps = true;
|
2021-06-28 23:13:55 +00:00
|
|
|
nativeBuildInputs = [
|
2023-11-16 04:20:00 +00:00
|
|
|
autoreconfHook guile pkg-config
|
2021-06-28 23:13:55 +00:00
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
guile
|
|
|
|
];
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
doCheck = true;
|
|
|
|
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
# In procedure bytevector-u8-ref: Argument 2 out of range
|
2024-09-26 11:04:55 +00:00
|
|
|
dontStrip = stdenv.hostPlatform.isDarwin;
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Structured access to bytevector contents";
|
|
|
|
homepage = "https://github.com/TaylanUB/scheme-bytestructures";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ ethancedwards8 ];
|
2021-07-04 02:40:35 +00:00
|
|
|
platforms = platforms.unix;
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
}
|