mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
pythonInterpreters.graalpython37: init
Add an interpreter with package set for graalpython 3.7.
This commit is contained in:
parent
e1b6b9056d
commit
43bbecea5e
@ -200,4 +200,9 @@ in {
|
||||
ncurses = ncurses5;
|
||||
};
|
||||
|
||||
graalpython37 = callPackage ./graalpython/default.nix {
|
||||
self = pythonInterpreters.graalpython37;
|
||||
inherit passthruFun;
|
||||
};
|
||||
|
||||
})
|
||||
|
21
pkgs/development/interpreters/python/graalpython/default.nix
Normal file
21
pkgs/development/interpreters/python/graalpython/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ pkgs
|
||||
, lib
|
||||
, graalvm8
|
||||
, passthruFun
|
||||
, packageOverrides ? (self: super: {})
|
||||
, self
|
||||
}:
|
||||
|
||||
let
|
||||
passthru = passthruFun {
|
||||
inherit self packageOverrides;
|
||||
implementation = "graal";
|
||||
sourceVersion = graalvm8.version;
|
||||
pythonVersion = "3.7";
|
||||
libPrefix = "graalvm";
|
||||
sitePackages = "jre/languages/python/lib-python/3/site-packages";
|
||||
executable = "graalpython";
|
||||
hasDistutilsCxxPatch = false;
|
||||
pythonForBuild = pkgs.buildPackages.pythonInterpreters.graalpython37;
|
||||
};
|
||||
in lib.extendDerivation true passthru graalvm8
|
Loading…
Reference in New Issue
Block a user