• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Nix flake for RPython interpreters


Commit MetaInfo

Revision9a96d9823eef61883f720fc3c600f66e36e4f715 (tree)
Time2024-04-14 19:32:24
AuthorCorbin <cds@corb...>
CommiterCorbin

Log Message

Add a known-working version of macropy.

Change Summary

Incremental Difference

--- a/flake.nix
+++ b/flake.nix
@@ -88,6 +88,16 @@
8888 mv rsdl-0.4.2/rsdl/ .
8989 '';
9090
91+ macropySrc = pkgs.fetchFromGitHub {
92+ owner = "lihaoyi";
93+ repo = "macropy";
94+ rev = "13993ccb08df21a0d63b091dbaae50b9dbb3fe3e";
95+ sha256 = "12496896c823h0849vnslbdgmn6z9mhfkckqa8sb8k9qqab7pyyl";
96+ };
97+ macropy = mkUnpackHook "macropy" ''
98+ cp -r ${macropySrc}/macropy/ .
99+ '';
100+
91101 mkRPythonDerivation = {
92102 entrypoint, binName,
93103 nativeBuildInputs ? [], buildInputs ? [],
@@ -304,6 +314,9 @@
304314 inherit (pkgs) pypy2 pypy27 pypy3 pypy38 pypy39;
305315 inherit bf divspl hippyvm topaz pygirl pysom pyrolog;
306316 typhon = typhon.packages.${system}.typhonVm;
317+ rpythonPackages = {
318+ inherit appdirs macropy rply rsdl;
319+ };
307320 };
308321 devShells.default = pkgs.mkShell {
309322 packages = if pkgs.cachix.meta.broken then [] else [ pkgs.cachix ];