nixpkgs/pkgs/development/chez-modules/chez-mit/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
747 B
Nix
Raw Normal View History

2022-03-15 11:25:39 +01:00
{ stdenv, lib, fetchFromGitHub, chez, chez-srfi }:
2022-03-15 11:25:39 +01:00
stdenv.mkDerivation rec {
pname = "chez-mit";
2022-03-15 11:25:39 +01:00
version = "0.1";
2022-03-15 11:25:39 +01:00
src = fetchFromGitHub {
owner = "fedeinthemix";
repo = "chez-mit";
rev = "v${version}";
sha256 = "sha256-YM4/Sj8otuWJCrUBsglVnihxRGI32F6tSbODFM0a8TA=";
};
buildInputs = [ chez chez-srfi ];
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 MIT/GNU Scheme compatibility library for Chez Scheme";
homepage = "https://github.com/fedeinthemix/chez-mit/";
maintainers = [ maintainers.jitwit ];
license = licenses.free;
};
}