Merge pull request #70412 from timokau/sage-add-pager-19.09

sage: add pager to environment
This commit is contained in:
Timo Kaufmann
2019-10-04 18:27:32 +00:00
committed by GitHub
5 changed files with 19 additions and 8 deletions

View File

@@ -930,11 +930,6 @@
Please use the fork <literal>cawbird</literal> instead which has been adapted to the API changes and is still maintained.
</para>
</listitem>
<listitem>
<para>
The <literal>nodejs-11_x</literal> package has been removed as it's EOLed by upstream.
</para>
</listitem>
</itemizedlist>
</section>

View File

@@ -44,6 +44,7 @@
, gsl
, ntl
, jdk
, less
}:
# This generates a `sage-env` shell file that will be sourced by sage on startup.
@@ -92,6 +93,7 @@ let
rubiks
flintqs
jdk # only needed for `jmol` which may be replaced in the future
less # needed to prevent transient test errors until https://github.com/ipython/ipython/pull/11864 is resolved
]
));
in

View File

@@ -1,7 +1,7 @@
{ stdenv, fetchgit, fetchNodeModules, buildPythonPackage
, pgpy, flask, bleach, misaka, humanize, markdown, psycopg2, pygments, requests
, sqlalchemy, flask_login, beautifulsoup4, sqlalchemy-utils, celery, alembic
, sassc, nodejs
, sassc, nodejs-11_x
, writeText }:
buildPythonPackage rec {
@@ -16,7 +16,7 @@ buildPythonPackage rec {
node_modules = fetchNodeModules {
src = "${src}/srht";
nodejs = nodejs;
nodejs = nodejs-11_x;
sha256 = "0axl50swhcw8llq8z2icwr4nkr5qsw2riih0a040f9wx4xiw4p6p";
};
@@ -26,7 +26,7 @@ buildPythonPackage rec {
nativeBuildInputs = [
sassc
nodejs
nodejs-11_x
];
propagatedBuildInputs = [

View File

@@ -0,0 +1,10 @@
{ callPackage, openssl, enableNpm ? true }:
let
buildNodejs = callPackage ./nodejs.nix { inherit openssl; };
in
buildNodejs {
inherit enableNpm;
version = "11.15.0";
sha256 = "68a776c5d8b8b91a8f2adac2ca4ce4390ae1804883ec7ec9c0d6a6a64d306a76";
}

View File

@@ -4412,6 +4412,10 @@ in
nodejs-slim-10_x = callPackage ../development/web/nodejs/v10.nix {
enableNpm = false;
};
nodejs-11_x = callPackage ../development/web/nodejs/v11.nix { };
nodejs-slim-11_x = callPackage ../development/web/nodejs/v11.nix {
enableNpm = false;
};
nodejs-12_x = callPackage ../development/web/nodejs/v12.nix { };
nodejs-slim-12_x = callPackage ../development/web/nodejs/v12.nix {
enableNpm = false;