2019-12-11 19:40:50 +01:00
|
|
|
{ stdenv, fetchFromGitHub, chez }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "chez-matchable";
|
|
|
|
version = "20160306";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fedeinthemix";
|
|
|
|
repo = "chez-matchable";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "02qn7x348p23z1x5lwhkyj7i8z6mgwpzpnwr8dyina0yzsdkr71s";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ chez ];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
make PREFIX=$out CHEZ=${chez}/bin/scheme
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
make install PREFIX=$out CHEZ=${chez}/bin/scheme
|
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "This is a Library for ChezScheme providing the protable hygenic pattern matcher by Alex Shinn";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/fedeinthemix/chez-matchable/";
|
2019-12-11 19:40:50 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.jitwit ];
|
|
|
|
license = stdenv.lib.licenses.publicDomain;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|