2021-06-12 05:42:20 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, guile
|
|
|
|
, autoreconfHook
|
|
|
|
, pkg-config
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "scheme-bytestructures";
|
2021-06-21 01:24:58 +01:00
|
|
|
version = "1.0.10";
|
2021-06-12 05:42:20 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "TaylanUB";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-06-21 01:24:58 +01:00
|
|
|
sha256 = "04oDvwvzTRzAVyywbcCm3Ug3p3xNbxjI7nOKYakEZZI=";
|
2021-06-12 05:42:20 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
postConfigure = ''
|
|
|
|
sed -i '/moddir\s*=/s%=.*%=''${out}/share/guile/site%' Makefile;
|
|
|
|
sed -i '/godir\s*=/s%=.*%=''${out}/share/guile/ccache%' Makefile;
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook pkg-config
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
guile
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Structured access to bytevector contents";
|
|
|
|
homepage = "https://github.com/TaylanUB/scheme-bytestructures";
|
2021-06-12 06:18:36 +01:00
|
|
|
license = licenses.gpl3Plus;
|
2021-06-12 05:42:20 +01:00
|
|
|
maintainers = with maintainers; [ ethancedwards8 ];
|
2021-07-03 10:30:50 +01:00
|
|
|
platforms = platforms.unix;
|
2021-06-12 05:42:20 +01:00
|
|
|
};
|
|
|
|
}
|