nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 33 lines 789 B view raw
1{ stdenv, lib, fetchFromGitHub, chez }: 2 3stdenv.mkDerivation rec { 4 pname = "chez-matchable"; 5 version = "20160306"; 6 7 src = fetchFromGitHub { 8 owner = "fedeinthemix"; 9 repo = "chez-matchable"; 10 rev = "v${version}"; 11 sha256 = "02qn7x348p23z1x5lwhkyj7i8z6mgwpzpnwr8dyina0yzsdkr71s"; 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 is a Library for ChezScheme providing the portable hygenic pattern matcher by Alex Shinn"; 28 homepage = "https://github.com/fedeinthemix/chez-matchable/"; 29 maintainers = [ maintainers.jitwit ]; 30 license = licenses.publicDomain; 31 }; 32 33}