Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, stdenv 3, fetchFromGitHub 4, guile 5, autoreconfHook 6, pkg-config 7}: 8 9stdenv.mkDerivation rec { 10 pname = "scheme-bytestructures"; 11 version = "2.0.1"; 12 13 src = fetchFromGitHub { 14 owner = "TaylanUB"; 15 repo = pname; 16 rev = "v${version}"; 17 sha256 = "sha256-Wvs288K8BVjUuWvvzpDGBwOxL7mAXjVtgIwJAsQd0L4="; 18 }; 19 20 nativeBuildInputs = [ 21 autoreconfHook pkg-config 22 ]; 23 buildInputs = [ 24 guile 25 ]; 26 27 doCheck = true; 28 makeFlags = [ "GUILE_AUTO_COMPILE=0" ]; 29 30 meta = with lib; { 31 description = "Structured access to bytevector contents"; 32 homepage = "https://github.com/TaylanUB/scheme-bytestructures"; 33 license = licenses.gpl3Plus; 34 maintainers = with maintainers; [ ethancedwards8 ]; 35 platforms = platforms.unix; 36 }; 37}