Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, lib, fetchFromGitHub, chez }: 2 3stdenv.mkDerivation { 4 pname = "chez-srfi"; 5 version = "1.0"; 6 7 src = fetchFromGitHub { 8 owner = "fedeinthemix"; 9 repo = "chez-srfi"; 10 rev = "5770486c2a85d0e3dd4ac62a97918e7c394ea507"; 11 sha256 = "sha256-8icdkbYmpTpossirFoulUhJY/8Jo+2eeaMwDftbZh+g="; 12 }; 13 14 buildInputs = [ chez ]; 15 16 buildPhase = '' 17 make PREFIX=$out CHEZ=${chez}/bin/scheme 18 ''; 19 20 installPhase = '' 21 make install PREFIX=$out CHEZ=${chez}/bin/scheme 22 ''; 23 24 doCheck = false; 25 26 meta = with lib; { 27 description = "This package provides a collection of SRFI libraries for Chez Scheme"; 28 homepage = "https://github.com/fedeinthemix/chez-srfi/"; 29 maintainers = [ maintainers.jitwit ]; 30 license = licenses.free; 31 }; 32 33}