nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 guile,
6 autoreconfHook,
7 pkg-config,
8}:
9
10stdenv.mkDerivation (finalAttrs: {
11 pname = "scheme-bytestructures";
12 version = "2.0.2";
13
14 src = fetchFromGitHub {
15 owner = "TaylanUB";
16 repo = "scheme-bytestructures";
17 rev = "v${finalAttrs.version}";
18 sha256 = "sha256-7FK1dXD1Qz6fFYjNUtHMaDGaezHLVaDvdgOboNNw0Lc=";
19 };
20
21 strictDeps = true;
22 nativeBuildInputs = [
23 autoreconfHook
24 guile
25 pkg-config
26 ];
27 buildInputs = [
28 guile
29 ];
30
31 doCheck = true;
32 makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
33
34 # In procedure bytevector-u8-ref: Argument 2 out of range
35 dontStrip = stdenv.hostPlatform.isDarwin;
36
37 meta = {
38 description = "Structured access to bytevector contents";
39 homepage = "https://github.com/TaylanUB/scheme-bytestructures";
40 license = lib.licenses.gpl3Plus;
41 maintainers = with lib.maintainers; [ ethancedwards8 ];
42 platforms = lib.platforms.unix;
43 };
44})