2021-06-12 06:42:20 +02:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, guile
|
|
|
|
, autoreconfHook
|
|
|
|
, pkg-config
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "scheme-bytestructures";
|
2022-07-30 00:04:29 +02:00
|
|
|
version = "2.0.1";
|
2021-06-12 06:42:20 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "TaylanUB";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-07-30 00:04:29 +02:00
|
|
|
sha256 = "sha256-Wvs288K8BVjUuWvvzpDGBwOxL7mAXjVtgIwJAsQd0L4=";
|
2021-06-12 06:42:20 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook pkg-config
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
guile
|
|
|
|
];
|
|
|
|
|
2022-10-04 13:52:01 +02:00
|
|
|
doCheck = true;
|
|
|
|
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
|
|
|
|
|
2021-06-12 06:42:20 +02:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Structured access to bytevector contents";
|
|
|
|
homepage = "https://github.com/TaylanUB/scheme-bytestructures";
|
2021-06-12 07:18:36 +02:00
|
|
|
license = licenses.gpl3Plus;
|
2021-06-12 06:42:20 +02:00
|
|
|
maintainers = with maintainers; [ ethancedwards8 ];
|
2021-07-03 11:30:50 +02:00
|
|
|
platforms = platforms.unix;
|
2021-06-12 06:42:20 +02:00
|
|
|
};
|
|
|
|
}
|