mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
Merge pull request #70541 from jitwit/chez-scmutils
chez-scmutils: init at 1.0
This commit is contained in:
commit
01ce3ce897
@ -3110,6 +3110,11 @@
|
||||
githubId = 184898;
|
||||
name = "Jirka Marsik";
|
||||
};
|
||||
jitwit = {
|
||||
email = "jrn@bluefarm.ca";
|
||||
github = "jitwit";
|
||||
name = "jitwit";
|
||||
};
|
||||
jlesquembre = {
|
||||
email = "jl@lafuente.me";
|
||||
github = "jlesquembre";
|
||||
|
33
pkgs/development/chez-modules/chez-mit/default.nix
Normal file
33
pkgs/development/chez-modules/chez-mit/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ stdenv, fetchgit, chez, chez-srfi }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "chez-mit";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/fedeinthemix/chez-mit.git";
|
||||
rev = "68f3d7562e77f694847dc74dabb5ecbd106cd6be";
|
||||
sha256 = "0c7i3b6i90xk96nmxn1pc9272a4yal4v40dm1a4ybdi87x53zkk0";
|
||||
};
|
||||
|
||||
buildInputs = [ chez chez-srfi ];
|
||||
|
||||
buildPhase = ''
|
||||
export CHEZSCHEMELIBDIRS=${chez-srfi}/lib/csv9.5-site
|
||||
make PREFIX=$out CHEZ=${chez}/bin/scheme
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
make install PREFIX=$out CHEZ=${chez}/bin/scheme
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "This is a MIT/GNU Scheme compatibility library for Chez Scheme";
|
||||
homepage = https://github.com/fedeinthemix/chez-mit/;
|
||||
maintainers = [ stdenv.lib.maintainers.jitwit ];
|
||||
license = stdenv.lib.licenses.free;
|
||||
};
|
||||
|
||||
}
|
33
pkgs/development/chez-modules/chez-scmutils/default.nix
Normal file
33
pkgs/development/chez-modules/chez-scmutils/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ 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 = ''
|
||||
export CHEZSCHEMELIBDIRS=${chez-srfi}/lib/csv9.5-site:${chez-mit}/lib/csv9.5-site
|
||||
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;
|
||||
};
|
||||
|
||||
}
|
32
pkgs/development/chez-modules/chez-srfi/default.nix
Normal file
32
pkgs/development/chez-modules/chez-srfi/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ stdenv, fetchgit, chez }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "chez-srfi";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/fedeinthemix/chez-srfi.git";
|
||||
rev = "5770486c2a85d0e3dd4ac62a97918e7c394ea507";
|
||||
sha256 = "1s47v7b7w0ycd2g6gyv8qbzmh4jjln5iday8n9l3m996ns8is9zj";
|
||||
};
|
||||
|
||||
buildInputs = [ chez ];
|
||||
|
||||
buildPhase = ''
|
||||
make PREFIX=$out CHEZ=${chez}/bin/scheme
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
make install PREFIX=$out CHEZ=${chez}/bin/scheme
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "This package provides a collection of SRFI libraries for Chez Scheme";
|
||||
homepage = https://github.com/fedeinthemix/chez-srfi/;
|
||||
maintainers = [ stdenv.lib.maintainers.jitwit ];
|
||||
license = stdenv.lib.licenses.free;
|
||||
};
|
||||
|
||||
}
|
@ -7585,6 +7585,12 @@ in
|
||||
inherit (darwin) cctools;
|
||||
};
|
||||
|
||||
chez-srfi = callPackage ../development/chez-modules/chez-srfi { };
|
||||
|
||||
chez-mit = callPackage ../development/chez-modules/chez-mit { };
|
||||
|
||||
chez-scmutils = callPackage ../development/chez-modules/chez-scmutils { };
|
||||
|
||||
clang = llvmPackages.clang;
|
||||
clang-manpages = llvmPackages.clang-manpages;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user