Nix flake for RPython interpreters
Revision | 9a96d9823eef61883f720fc3c600f66e36e4f715 (tree) |
---|---|
Time | 2024-04-14 19:32:24 |
Author | Corbin <cds@corb...> |
Commiter | Corbin |
Add a known-working version of macropy.
@@ -88,6 +88,16 @@ | ||
88 | 88 | mv rsdl-0.4.2/rsdl/ . |
89 | 89 | ''; |
90 | 90 | |
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 | + | |
91 | 101 | mkRPythonDerivation = { |
92 | 102 | entrypoint, binName, |
93 | 103 | nativeBuildInputs ? [], buildInputs ? [], |
@@ -304,6 +314,9 @@ | ||
304 | 314 | inherit (pkgs) pypy2 pypy27 pypy3 pypy38 pypy39; |
305 | 315 | inherit bf divspl hippyvm topaz pygirl pysom pyrolog; |
306 | 316 | typhon = typhon.packages.${system}.typhonVm; |
317 | + rpythonPackages = { | |
318 | + inherit appdirs macropy rply rsdl; | |
319 | + }; | |
307 | 320 | }; |
308 | 321 | devShells.default = pkgs.mkShell { |
309 | 322 | packages = if pkgs.cachix.meta.broken then [] else [ pkgs.cachix ]; |