nixpkgs/pkgs/development/chez-modules/chez-scmutils/default.nix
Jakub Kądziołka 8f60607a0b
chez: add env hook
As a follow-up to #97927, chez can now find its libraries in a
nix-shell, and derivations for such libraries don't need to handle the
search path themselves.
2020-09-16 22:41:47 +02:00

33 lines
808 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, fetchgit, chez, chez-srfi, chez-mit }:
stdenv.mkDerivation {
pname = "chez-scmutils";
version = "1.0";
src = fetchgit {
url = "https://github.com/fedeinthemix/chez-scmutils.git";
rev = "5eaeea6289fd239358d7eed99cc9588528fb52b2";
sha256 = "0lb05wlf8qpgg8y0gdsyaxg1nbfx1qbaqdjvygrp64ndn8fnhq7l";
};
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 = {
description = "This is a port of the MIT Scmutils library to Chez Scheme";
homepage = "https://github.com/fedeinthemix/chez-scmutils/";
maintainers = [ stdenv.lib.maintainers.jitwit ];
license = stdenv.lib.licenses.gpl3;
};
}