depot/third_party/nixpkgs/pkgs/development/scheme-modules/scheme-bytestructures/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

41 lines
890 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.hostPlatform.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;
};
}