nixpkgs/pkgs/development/scheme-modules/scheme-bytestructures/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
877 B
Nix
Raw Permalink Normal View History

2021-06-12 04:42:20 +00:00
{ lib
, stdenv
, fetchFromGitHub
, guile
, autoreconfHook
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "scheme-bytestructures";
2022-07-29 22:04:29 +00:00
version = "2.0.1";
2021-06-12 04:42:20 +00:00
src = fetchFromGitHub {
owner = "TaylanUB";
repo = pname;
rev = "v${version}";
2022-07-29 22:04:29 +00:00
sha256 = "sha256-Wvs288K8BVjUuWvvzpDGBwOxL7mAXjVtgIwJAsQd0L4=";
2021-06-12 04:42:20 +00:00
};
2023-10-22 00:37:05 +00:00
strictDeps = true;
2021-06-12 04:42:20 +00:00
nativeBuildInputs = [
2023-10-22 00:37:05 +00:00
autoreconfHook guile pkg-config
2021-06-12 04:42:20 +00:00
];
buildInputs = [
guile
];
doCheck = true;
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
# In procedure bytevector-u8-ref: Argument 2 out of range
dontStrip = stdenv.isDarwin;
2021-06-12 04:42:20 +00:00
meta = with lib; {
description = "Structured access to bytevector contents";
homepage = "https://github.com/TaylanUB/scheme-bytestructures";
2021-06-12 05:18:36 +00:00
license = licenses.gpl3Plus;
2021-06-12 04:42:20 +00:00
maintainers = with maintainers; [ ethancedwards8 ];
platforms = platforms.unix;
2021-06-12 04:42:20 +00:00
};
}