mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
34 lines
789 B
Nix
34 lines
789 B
Nix
{ stdenv, lib, 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 = with lib; {
|
|
description = "This is a Library for ChezScheme providing the portable hygenic pattern matcher by Alex Shinn";
|
|
homepage = "https://github.com/fedeinthemix/chez-matchable/";
|
|
maintainers = [ maintainers.jitwit ];
|
|
license = licenses.publicDomain;
|
|
};
|
|
|
|
}
|