Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5}: 6 7stdenv.mkDerivation rec { 8 pname = "wolfram-for-jupyter-kernel"; 9 version = "0.9.2"; 10 11 src = fetchFromGitHub { 12 owner = "WolframResearch"; 13 repo = "WolframLanguageForJupyter"; 14 rev = "v${version}"; 15 sha256 = "19d9dvr0bv7iy0x8mk4f576ha7z7h7id39nyrggwf9cp7gymxf47"; 16 }; 17 18 dontConfigure = true; 19 20 installPhase = '' 21 patchShebangs ./configure-jupyter.wls 22 mkdir -p $out/share/Wolfram 23 cp -r {WolframLanguageForJupyter,images,extras,LICENSE} $out/share/Wolfram 24 ''; 25 26 # no tests 27 doCheck = false; 28 29 meta = with lib; { 30 description = "Jupyter kernel for Wolfram Language"; 31 homepage = "https://github.com/WolframResearch/WolframLanguageForJupyter"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ fbeffa ]; 34 platforms = platforms.all; 35 }; 36}