mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
Merge master into staging-next
This commit is contained in:
commit
6e614e4dac
10 changed files with 41 additions and 17 deletions
|
@ -2,13 +2,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "trompeloeil";
|
||||
version = "39";
|
||||
version = "40";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rollbear";
|
||||
repo = "trompeloeil";
|
||||
rev = "v${version}";
|
||||
sha256 = "1053iw4isi7qsy94fqmh570wki999sg9n70jhqy8kfy1bniczh0l";
|
||||
sha256 = "sha256-q0iMM3Hb5Y21RUhhxFEd/q4OCJFJ12gozZd5jCDscro=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{ lib, stdenv, fetchurl, curl, libxml2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "xmlrpc-c-1.51.06";
|
||||
name = "xmlrpc-c-1.51.07";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/xmlrpc-c/${name}.tgz";
|
||||
sha256 = "1l4zz22q10081vr06b8sii0l3krr64xyiywz6rcladw8kiyxip06";
|
||||
sha256 = "sha256-hNIK4z+SdYL4IdYcC5GUrvvx15JFkKE/qdpa4WmK3tk=";
|
||||
};
|
||||
|
||||
buildInputs = [ curl libxml2 ];
|
||||
|
|
|
@ -33,18 +33,20 @@ buildPythonPackage rec {
|
|||
pandas
|
||||
six
|
||||
toolz
|
||||
jinja2
|
||||
] ++ lib.optionals (pythonOlder "3.5") [ typing ];
|
||||
|
||||
checkInputs = [
|
||||
glibcLocales
|
||||
ipython
|
||||
jinja2
|
||||
pytest
|
||||
recommonmark
|
||||
sphinx
|
||||
vega_datasets
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "altair" ];
|
||||
|
||||
checkPhase = ''
|
||||
export LANG=en_US.UTF-8
|
||||
# histogram_responsive.py attempt network access, and cannot be disabled through pytest flags
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "limnoria";
|
||||
version = "2021.01.15";
|
||||
version = "2021.03.13";
|
||||
disabled = isPy27; # abandoned upstream
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5d7109fc779c44070e3c57186eae59b133014835d5fe15b262fa9438d7599c81";
|
||||
sha256 = "c13dd7a84eddfcf9c3068d57f3c9da90ea7c0d11688dc3f78f9265f3f093c6ea";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
|
|
|
@ -30,6 +30,16 @@ buildPythonPackage rec {
|
|||
sha256 = "cbbc13a86dfbd4d1b5dee106539de0795b4db156c894c2c5dc382062bbc29002";
|
||||
};
|
||||
|
||||
# Add $out/share/jupyter to the list of paths that are used to search for
|
||||
# various exporter templates
|
||||
patches = [
|
||||
./templates.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteAllInPlace ./nbconvert/exporters/templateexporter.py
|
||||
'';
|
||||
|
||||
checkInputs = [ pytestCheckHook glibcLocales ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
12
pkgs/development/python-modules/nbconvert/templates.patch
Normal file
12
pkgs/development/python-modules/nbconvert/templates.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff --git a/nbconvert/exporters/templateexporter.py b/nbconvert/exporters/templateexporter.py
|
||||
index 0d540eb1..440f6382 100644
|
||||
--- a/nbconvert/exporters/templateexporter.py
|
||||
+++ b/nbconvert/exporters/templateexporter.py
|
||||
@@ -616,6 +616,7 @@ class TemplateExporter(Exporter):
|
||||
if DEV_MODE:
|
||||
root_dirs.append(os.path.abspath(os.path.join(ROOT, '..', '..', 'share', 'jupyter')))
|
||||
root_dirs.extend(jupyter_path())
|
||||
+ root_dirs.append(os.path.join("@out@", "share", "jupyter"))
|
||||
return root_dirs
|
||||
|
||||
def _init_resources(self, resources):
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "circleci-cli";
|
||||
version = "0.1.15108";
|
||||
version = "0.1.15149";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CircleCI-Public";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-r0GSv9JaQQkVLYDh51Rz6OIDTqV75RIT+NIWAFXWcV8=";
|
||||
sha256 = "sha256-pmLDCNgCQv4fetl/q6ZokH1qF6pSqsR0DUWbzGeEtaw=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-j7VP/QKKMdmWQ60BYpChG4syDlll7CY4rb4wfb4+Z1s=";
|
||||
|
|
|
@ -9,16 +9,16 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "findomain";
|
||||
version = "3.1.0";
|
||||
version = "4.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Edu4rdSHL";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-mZJyxbxMIw3jr7ASzYKEfZFh4GS6ZfGKsRkzOtUCYOA=";
|
||||
sha256 = "sha256-uv1boI9iaBeobo/58Di4oslh1eGLuK9HR5EwQQeWn+0=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-JIyv21u+r2CpgsiW5O7Fy4CWXpkW4jRDrH0CSY2CgiU=";
|
||||
cargoSha256 = "sha256-31OD/sv4br9cdBNqNGr4McypSGkBbKs7b7H1u7mFt3o=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles perl ];
|
||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||
|
|
|
@ -10,13 +10,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "bettercap";
|
||||
version = "2.30";
|
||||
version = "2.30.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-Ge+fbNEWq+84LypUbNrnNMOxcDJb8rFlP/QUoE7yEds=";
|
||||
sha256 = "sha256-5CAWMW0u/8BUn/8JJBApyHGH+/Tz8hzAmSChoT2gFr8=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-fApxHxdzEEc+M+U5f0271VgrkXTGkUD75BpDXpVYd5k=";
|
||||
|
|
|
@ -15025,10 +15025,10 @@ let
|
|||
|
||||
NetAsyncHTTP = buildPerlModule {
|
||||
pname = "Net-Async-HTTP";
|
||||
version = "0.47";
|
||||
version = "0.48";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/authors/id/P/PE/PEVANS/Net-Async-HTTP-0.47.tar.gz";
|
||||
sha256 = "1lwy1ijrhibi087p3q5zvadhkq0slfrzfhb76cmkx4mpyv5v4l8f";
|
||||
url = "mirror://cpan/authors/id/P/PE/PEVANS/Net-Async-HTTP-0.48.tar.gz";
|
||||
sha256 = "0gpp46lg7sr5xpsjhqkb022f9v88wy73carsrn5pvbmwjpwxcjwx";
|
||||
};
|
||||
buildInputs = [ HTTPCookies TestIdentity TestMetricsAny TestRefcount ];
|
||||
propagatedBuildInputs = [ Future HTTPMessage IOAsync MetricsAny StructDumb URI ];
|
||||
|
|
Loading…
Reference in a new issue