depot/third_party/nixpkgs/pkgs/development/scheme-modules/scheme-bytestructures/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

38 lines
785 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, guile
, autoreconfHook
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "scheme-bytestructures";
version = "2.0.1";
src = fetchFromGitHub {
owner = "TaylanUB";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Wvs288K8BVjUuWvvzpDGBwOxL7mAXjVtgIwJAsQd0L4=";
};
strictDeps = true;
nativeBuildInputs = [
autoreconfHook guile pkg-config
];
buildInputs = [
guile
];
doCheck = true;
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
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;
};
}