2021-01-17 18:11:59 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, chez }:
|
2019-12-11 18:40:50 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
|
2021-01-17 18:11:59 +00:00
|
|
|
meta = with lib; {
|
2021-04-12 00:30:02 +01:00
|
|
|
description = "This is a Library for ChezScheme providing the portable hygenic pattern matcher by Alex Shinn";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/fedeinthemix/chez-matchable/";
|
2021-01-17 18:11:59 +00:00
|
|
|
maintainers = [ maintainers.jitwit ];
|
|
|
|
license = licenses.publicDomain;
|
2019-12-11 18:40:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|