depot/third_party/nixpkgs/pkgs/development/chez-modules/chez-scmutils/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

33 lines
782 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ stdenv, lib, fetchFromGitHub, chez, chez-srfi, chez-mit }:
stdenv.mkDerivation rec {
pname = "chez-scmutils";
version = "0.1";
src = fetchFromGitHub {
owner = "fedeinthemix";
repo = "chez-scmutils";
rev = "v${version}";
sha256 = "sha256-9GBoHbLNEnPz81s2rBYO3S0bXldetwc8eu9i5CgvYFE=";
};
buildInputs = [ chez chez-srfi chez-mit ];
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 port of the MIT Scmutils library to Chez Scheme";
homepage = "https://github.com/fedeinthemix/chez-scmutils/";
maintainers = [ maintainers.jitwit ];
license = licenses.gpl3;
};
}