Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8b85de318dbd
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 38f3c6afa110
Choose a head ref

Commits on Aug 3, 2019

  1. runwayml: init at 0.8.1

    prusnak committed Aug 3, 2019
    Copy the full SHA
    7c8e7aa View commit details

Commits on Aug 4, 2019

  1. Copy the full SHA
    12a2253 View commit details

Commits on Aug 5, 2019

  1. pdns-recursor: 4.1.14 -> 4.2.0

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/pdns-recursor/versions
    r-ryantm committed Aug 5, 2019
    Copy the full SHA
    febd3c7 View commit details

Commits on Aug 6, 2019

  1. Copy the full SHA
    8a02fa4 View commit details
  2. Copy the full SHA
    349a843 View commit details
  3. virtualbox: use wrapQtAppsHook

    Fixes #66200
    
    See: #65399
    worldofpeace committed Aug 6, 2019
    Copy the full SHA
    2bd649b View commit details
  4. Add bluez-qt as an explicit dependency of plasma5

    When bluetooth is enabled, we install bluedevil, but
    its applet cannot work without the qml components in
    bluez-qt.
    
    Superseedes #65440 that failed to address the issue.
    xvello committed Aug 6, 2019
    Copy the full SHA
    e383d99 View commit details
  5. openjfx: fix build

    Averell Dalton committed Aug 6, 2019
    Copy the full SHA
    5ab179b View commit details
  6. Copy the full SHA
    a0e09b9 View commit details

Commits on Aug 7, 2019

  1. pythonPackages.vega_datasets: fix build

    Jonathan Ringer committed Aug 7, 2019
    Copy the full SHA
    ff53618 View commit details
  2. pythonPackages.altair: 3.1.0 -> 3.2.0

    Jonathan Ringer committed Aug 7, 2019
    Copy the full SHA
    72bda5b View commit details
  3. Make hostname in tests overridable

    The original form effectively forbade any NixOS configuration that is under
    test to explicitly set the hostname.
    knl committed Aug 7, 2019
    Copy the full SHA
    d0ef942 View commit details
  4. pythonPackages.jug: 1.6.8 -> 1.6.9

    Removes the need to patch the code for NumPy 1.17.0
    luispedro committed Aug 7, 2019
    Copy the full SHA
    034a97e View commit details
  5. wpa_supplicant/gui: fix qt wrapping

    Import mkDerivation explicitly instead of using stdenv.mkDerivation, to
    allow proper wrapping.
    xaverdh committed Aug 7, 2019
    Copy the full SHA
    40970f1 View commit details
  6. Merge pull request #66257 from knl/dont-force-hostname-in-sets

    Make hostname in tests overridable
    basvandijk authored Aug 7, 2019
    Copy the full SHA
    69c7aee View commit details
  7. Copy the full SHA
    7a6a27b View commit details
  8. Merge pull request #66228 from averelld/fix-openjfx-build

    openjfx: fix build
    adisbladis authored Aug 7, 2019
    Copy the full SHA
    de5b58a View commit details
  9. Merge pull request #66262 from xaverdh/wpa_supplicant-qt-fix

    wpa_supplicant/gui: fix qt wrapping
    peti authored Aug 7, 2019
    Copy the full SHA
    7d90a4c View commit details
  10. pgpool: 3.4.14 -> 4.0.5 (#66224)

    Updated to PGPool-II 4.0.5 and modify the code to allow absolute path
    for pool_passwd file.
    takeda authored and danbst committed Aug 7, 2019
    Copy the full SHA
    b1d00b7 View commit details
  11. postgresql: running initdb from command line now works (#65309)

    The issue was only with NixOS service, `postgresql` installed through
    `nix-env` was not affected.
    
    Fixes NixOS/nixpkgs#23655
    danbst authored Aug 7, 2019
    Copy the full SHA
    0730e81 View commit details
  12. Merge pull request #65984 from prusnak/webrtcvad

    pythonPackages.webrtcvad: init at 2.0.10
    mmahut authored Aug 7, 2019
    Copy the full SHA
    9c6fbbd View commit details
  13. Merge pull request #65782 from prusnak/runway

    runwayml: init at 0.8.1
    mmahut authored Aug 7, 2019
    Copy the full SHA
    abe1af1 View commit details
  14. Merge pull request #66261 from luispedro/python_jug_1.6.9

    pythonPackages.jug: 1.6.8 -> 1.6.9
    marsam authored Aug 7, 2019
    Copy the full SHA
    25e4715 View commit details
  15. add options for build idris package (#65666)

    add options for build idris package
    infinisil authored Aug 7, 2019
    Copy the full SHA
    dd7de2d View commit details
  16. Merge pull request #66222 from worldofpeace/fix-virtualbox

    virtualbox: use wrapQtAppsHook
    worldofpeace authored Aug 7, 2019
    Copy the full SHA
    9f82497 View commit details
  17. Merge pull request #66240 from MetaDark/protontricks

    protontricks: 1.2.3 -> 1.2.4
    marsam authored Aug 7, 2019
    Copy the full SHA
    bf822db View commit details
  18. golangci-lint: 1.16.0 -> 1.17.1

    Version bump for golangci-lint
    johnchildren committed Aug 7, 2019
    Copy the full SHA
    c805c23 View commit details
  19. ocamlPackages.findlib: 1.8.0 -> 1.8.1

    Also remove unused legacy version 1.7.3
    vbgl committed Aug 7, 2019
    Copy the full SHA
    0a47784 View commit details
  20. Merge pull request #66012 from r-ryantm/auto-update/pdns-recursor

    pdns-recursor: 4.1.14 -> 4.2.0
    ryantm authored Aug 7, 2019
    Copy the full SHA
    ab5682a View commit details
  21. Merge pull request #66269 from johnchildren/golangci-lint-update

    golangci-lint: 1.16.0 -> 1.17.1
    adisbladis authored Aug 7, 2019
    Copy the full SHA
    c9d3169 View commit details
  22. Copy the full SHA
    636cef2 View commit details
  23. Copy the full SHA
    5a6c5a8 View commit details
  24. Copy the full SHA
    046a1aa View commit details
  25. Copy the full SHA
    16cc448 View commit details
  26. linux: 5.2.6 -> 5.2.7

    NeQuissimus committed Aug 7, 2019
    Copy the full SHA
    2082dbd View commit details
  27. Copy the full SHA
    6808d00 View commit details
  28. Copy the full SHA
    83e1d3a View commit details
  29. calibre: fix build

    Averell Dalton authored and FRidh committed Aug 7, 2019
    Copy the full SHA
    514e62d View commit details
  30. spotifyd: update cargoSha256 hash (#66233)

    When installing, the Cargo package hash is incorrect. This has been updated, and works locally.
    BenSchZA authored and timokau committed Aug 7, 2019
    Copy the full SHA
    6c6276c View commit details
  31. ocaml-minisat: init at 0.2

    mgttlinger authored and vbgl committed Aug 7, 2019
    Copy the full SHA
    e5340bb View commit details
  32. Merge pull request #66226 from xvello/xvello/bluez-qt

    Add bluez-qt as an explicit dependency of plasma5
    ttuegel authored Aug 7, 2019
    Copy the full SHA
    38f3c6a View commit details
Showing with 273 additions and 107 deletions.
  1. +18 −0 doc/languages-frameworks/idris.section.md
  2. +1 −1 nixos/lib/build-vms.nix
  3. +4 −0 nixos/modules/services/databases/postgresql.nix
  4. +1 −1 nixos/modules/services/x11/desktop-managers/plasma5.nix
  5. +26 −0 nixos/tests/initdb.nix
  6. +1 −1 pkgs/applications/audio/spotifyd/default.nix
  7. +45 −0 pkgs/applications/graphics/runwayml/default.nix
  8. +2 −3 pkgs/applications/misc/calibre/default.nix
  9. +1 −1 pkgs/applications/networking/instant-messengers/slack/dark-theme.nix
  10. +18 −10 pkgs/applications/virtualization/virtualbox/default.nix
  11. +1 −1 pkgs/development/compilers/openjdk/openjfx/11.nix
  12. +1 −1 pkgs/development/compilers/openjdk/openjfx/12.nix
  13. +8 −4 pkgs/development/idris-modules/build-idris-package.nix
  14. +22 −0 pkgs/development/ocaml-modules/minisat/default.nix
  15. +36 −14 pkgs/development/python-modules/altair/default.nix
  16. +2 −11 pkgs/development/python-modules/jug/default.nix
  17. +1 −1 pkgs/development/python-modules/vega_datasets/default.nix
  18. +24 −0 pkgs/development/python-modules/webrtcvad/default.nix
  19. +3 −3 pkgs/development/tools/golangci-lint/default.nix
  20. +3 −19 pkgs/development/tools/ocaml/findlib/default.nix
  21. +1 −1 pkgs/development/tools/ocaml/findlib/install_topfind.patch
  22. +2 −2 pkgs/os-specific/linux/kernel/linux-4.14.nix
  23. +2 −2 pkgs/os-specific/linux/kernel/linux-4.19.nix
  24. +2 −2 pkgs/os-specific/linux/kernel/linux-4.4.nix
  25. +2 −2 pkgs/os-specific/linux/kernel/linux-4.9.nix
  26. +2 −2 pkgs/os-specific/linux/kernel/linux-5.2.nix
  27. +2 −2 pkgs/os-specific/linux/wpa_supplicant/gui.nix
  28. +2 −2 pkgs/servers/dns/pdns-recursor/default.nix
  29. +5 −3 pkgs/servers/sql/pgpool/default.nix
  30. +0 −12 pkgs/servers/sql/pgpool/pgpool-II-3.4.14-glibc-2.26.patch
  31. +23 −0 pkgs/servers/sql/pgpool/pgpool.patch
  32. +3 −3 pkgs/shells/zsh/oh-my-zsh/default.nix
  33. +2 −2 pkgs/tools/package-management/protontricks/default.nix
  34. +3 −1 pkgs/top-level/all-packages.nix
  35. +2 −0 pkgs/top-level/ocaml-packages.nix
  36. +2 −0 pkgs/top-level/python-packages.nix
18 changes: 18 additions & 0 deletions doc/languages-frameworks/idris.section.md
Original file line number Diff line number Diff line change
@@ -124,3 +124,21 @@ in another file (say `default.nix`) to be able to build it with
```
$ nix-build -A yaml
```

## Passing options to `idris` commands

The `build-idris-package` function provides also optional input values to set additional options for the used `idris` commands.

Specifically, you can set `idrisBuildOptions`, `idrisTestOptions`, `idrisInstallOptions` and `idrisDocOptions` to provide additional options to the `idris` command respectively when building, testing, installing and generating docs for your package.

For example you could set

```
build-idris-package {
idrisBuildOptions = [ "--log" "1" "--verbose" ]
...
}
```

to require verbose output during `idris` build phase.
2 changes: 1 addition & 1 deletion nixos/lib/build-vms.nix
Original file line number Diff line number Diff line change
@@ -67,7 +67,7 @@ rec {
in
{ key = "ip-address";
config =
{ networking.hostName = m.fst;
{ networking.hostName = mkDefault m.fst;

networking.interfaces = listToAttrs interfaces;

4 changes: 4 additions & 0 deletions nixos/modules/services/databases/postgresql.nix
Original file line number Diff line number Diff line change
@@ -251,6 +251,10 @@ in

environment.systemPackages = [ postgresql ];

environment.pathsToLink = [
"/share/postgresql"
];

systemd.services.postgresql =
{ description = "PostgreSQL Server";

2 changes: 1 addition & 1 deletion nixos/modules/services/x11/desktop-managers/plasma5.nix
Original file line number Diff line number Diff line change
@@ -178,7 +178,7 @@ in
++ lib.optional (cfg.phononBackend == "vlc" && cfg.enableQt4Support) pkgs.phonon-backend-vlc

# Optional hardware support features
++ lib.optional config.hardware.bluetooth.enable bluedevil
++ lib.optionals config.hardware.bluetooth.enable [ bluedevil bluez-qt ]
++ lib.optional config.networking.networkmanager.enable plasma-nm
++ lib.optional config.hardware.pulseaudio.enable plasma-pa
++ lib.optional config.powerManagement.enable powerdevil
26 changes: 26 additions & 0 deletions nixos/tests/initdb.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
let
pkgs = import <nixpkgs> { };
in
with import <nixpkgs/nixos/lib/testing.nix> { inherit pkgs; system = builtins.currentSystem; };
with pkgs.lib;

makeTest {
name = "pg-initdb";

machine = {...}:
{
documentation.enable = false;
services.postgresql.enable = true;
services.postgresql.package = pkgs.postgresql_9_6;
environment.pathsToLink = [
"/share/postgresql"
];
};

testScript = ''
$machine->start;
$machine->succeed("sudo -u postgres initdb -D /tmp/testpostgres2");
$machine->shutdown;
'';

}
2 changes: 1 addition & 1 deletion pkgs/applications/audio/spotifyd/default.nix
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "1iybk9xrrvhrcl2xl5r2xhyn1ydhrgwnnb8ldhsw5c16b32z03q1";
};

cargoSha256 = "0879p1h32259schmy8j3xnwpw3sw80f8mrj8s6b5aihi3yyzz521";
cargoSha256 = "1dzg4sb95ixjfhx6n4w2rgrq4481vw01nsdrbm746mz7nm71csk3";

cargoBuildFlags = [
"--no-default-features"
45 changes: 45 additions & 0 deletions pkgs/applications/graphics/runwayml/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{ lib
, fetchurl
, appimageTools
, symlinkJoin
}:

let
pname = "runwayml";
version = "0.8.1";
name = "${pname}-${version}";

src = fetchurl {
url = "https://runway-releases.s3.amazonaws.com/Runway%20${version}.AppImage";
sha256 = "0pqnlwk804cly2x9kph39g9ps5dv75ybi2v1fgrvmhk3wbmwmpb0";
name="${pname}-${version}.AppImage";
};

binary = appimageTools.wrapType2 {
name = "${pname}";
inherit src;
};
# we only use this to extract the icon
appimage-contents = appimageTools.extractType2 {
inherit name src;
};

in
symlinkJoin {
inherit name;
paths = [ binary ];

postBuild = ''
mkdir -p $out/share/pixmaps/ $out/share/applications
cp ${appimage-contents}/usr/share/icons/hicolor/1024x1024/apps/runway.png $out/share/pixmaps/runway.png
sed 's:Exec=AppRun:Exec=runwayml:' ${appimage-contents}/runway.desktop > $out/share/applications/runway.desktop
'';

meta = with lib; {
description = "Machine learning for creators";
homepage = https://runwayml.com/;
license = licenses.unfree;
maintainers = with maintainers; [ prusnak ];
platforms = [ "x86_64-linux" ];
};
}
5 changes: 2 additions & 3 deletions pkgs/applications/misc/calibre/default.nix
Original file line number Diff line number Diff line change
@@ -49,8 +49,7 @@ stdenv.mkDerivation rec {
]);

qtWrapperArgs = [
"--prefix PYTHONPATH: $PYTHONPATH"
"--prefix PATH: ${poppler_utils.out}/bin}"
"--prefix PATH : ${poppler_utils.out}/bin"
];

installPhase = ''
@@ -76,7 +75,7 @@ stdenv.mkDerivation rec {
sed -i "2i import sys; sys.argv[0] = 'calibre'" $out/bin/calibre
for program in $out/bin/*; do
wrapQtApp $program
wrapQtApp $program --prefix PYTHONPATH : $PYTHONPATH
done
# Replace @out@ by the output path.
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

stdenv.mkDerivation rec {
rev = "e2a6a9cd9da70175881ab991220c86aa87179509";
version = "2019-07-25";
version = "2019-07-26";
name = "slack-theme-black-${version}";

src = fetchgit { inherit rev;
28 changes: 18 additions & 10 deletions pkgs/applications/virtualization/virtualbox/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ config, stdenv, fetchurl, lib, iasl, dev86, pam, libxslt, libxml2
, libX11, xorgproto, libXext, libXcursor, libXmu, qt5, libIDL, SDL, libcap, libGL
, libpng, glib, lvm2, libXrandr, libXinerama, libopus
, pkgconfig, which, docbook_xsl, docbook_xml_dtd_43
{ config, stdenv, fetchurl, lib, iasl, dev86, pam, libxslt, libxml2, wrapQtAppsHook
, libX11, xorgproto, libXext, libXcursor, libXmu, libIDL, SDL, libcap, libGL
, libpng, glib, lvm2, libXrandr, libXinerama, libopus, qtbase, qtx11extras
, qttools, pkgconfig, which, docbook_xsl, docbook_xml_dtd_43
, alsaLib, curl, libvpx, nettools, dbus
, makeself, perl
, javaBindings ? true, jdk ? null # Almost doesn't affect closure size
@@ -33,7 +33,11 @@ in stdenv.mkDerivation {

outputs = [ "out" "modsrc" ];

nativeBuildInputs = [ pkgconfig which docbook_xsl docbook_xml_dtd_43 patchelfUnstable ];
nativeBuildInputs = [ pkgconfig which docbook_xsl docbook_xml_dtd_43 patchelfUnstable ]
++ optional (!headless) wrapQtAppsHook;

# Wrap manually because we just need to wrap one executable
dontWrapQtApps = true;

buildInputs =
[ iasl dev86 libxslt libxml2 xorgproto libX11 libXext libXcursor libIDL
@@ -43,7 +47,7 @@ in stdenv.mkDerivation {
++ optional pythonBindings python # Python is needed even when not building bindings
++ optional pulseSupport libpulseaudio
++ optionals (headless) [ libXrandr libGL ]
++ optionals (!headless) [ qt5.qtbase qt5.qtx11extras libXinerama SDL ];
++ optionals (!headless) [ qtbase qtx11extras libXinerama SDL ];

hardeningDisable = [ "format" "fortify" "pic" "stackprotector" ];

@@ -53,7 +57,7 @@ in stdenv.mkDerivation {
-e 's@PYTHONDIR=.*@PYTHONDIR=${if pythonBindings then python else ""}@' \
-e 's@CXX_FLAGS="\(.*\)"@CXX_FLAGS="-std=c++11 \1"@' \
${optionalString (!headless) ''
-e 's@TOOLQT5BIN=.*@TOOLQT5BIN="${getDev qt5.qtbase}/bin"@' \
-e 's@TOOLQT5BIN=.*@TOOLQT5BIN="${getDev qtbase}/bin"@' \
''} -i configure
ls kBuild/bin/linux.x86/k* tools/linux.x86/bin/* | xargs -n 1 patchelf --set-interpreter ${stdenv.glibc.out}/lib/ld-linux.so.2
ls kBuild/bin/linux.amd64/k* tools/linux.amd64/bin/* | xargs -n 1 patchelf --set-interpreter ${stdenv.glibc.out}/lib/ld-linux-x86-64.so.2
@@ -105,9 +109,9 @@ in stdenv.mkDerivation {
VBOX_JAVA_HOME := ${jdk}
''}
${optionalString (!headless) ''
PATH_QT5_X11_EXTRAS_LIB := ${getLib qt5.qtx11extras}/lib
PATH_QT5_X11_EXTRAS_INC := ${getDev qt5.qtx11extras}/include
TOOL_QT5_LRC := ${getDev qt5.qttools}/bin/lrelease
PATH_QT5_X11_EXTRAS_LIB := ${getLib qtx11extras}/lib
PATH_QT5_X11_EXTRAS_INC := ${getDev qtx11extras}/include
TOOL_QT5_LRC := ${getDev qttools}/bin/lrelease
''}
LOCAL_CONFIG
@@ -177,6 +181,10 @@ in stdenv.mkDerivation {
cp -rv out/linux.*/${buildType}/bin/src "$modsrc"
'';

preFixup = optionalString (!headless) ''
wrapQtApp $out/bin/VirtualBox
'';

passthru = {
inherit version; # for guest additions
inherit extensionPack; # for inclusion in profile to prevent gc
2 changes: 1 addition & 1 deletion pkgs/development/compilers/openjdk/openjfx/11.nix
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ let
build = "1";
repover = "${major}${update}+${build}";
gradle_ = (gradleGen.override {
jdk = bootjdk;
java = bootjdk;
}).gradle_4_10;

makePackage = args: stdenv.mkDerivation ({
2 changes: 1 addition & 1 deletion pkgs/development/compilers/openjdk/openjfx/12.nix
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ let
build = "14";
repover = "${major}${update}+${build}";
gradle_ = (gradleGen.override {
jdk = bootjdk;
java = bootjdk;
}).gradle_4_10;

makePackage = args: stdenv.mkDerivation ({
12 changes: 8 additions & 4 deletions pkgs/development/idris-modules/build-idris-package.nix
Original file line number Diff line number Diff line change
@@ -7,6 +7,10 @@
, version
, ipkgName ? name
, extraBuildInputs ? []
, idrisBuildOptions ? []
, idrisTestOptions ? []
, idrisInstallOptions ? []
, idrisDocOptions ? []
, ...
}@attrs:
let
@@ -39,24 +43,24 @@ stdenv.mkDerivation ({

buildPhase = ''
runHook preBuild
idris --build ${ipkgName}.ipkg
idris --build ${ipkgName}.ipkg ${lib.escapeShellArgs idrisBuildOptions}
runHook postBuild
'';

checkPhase = ''
runHook preCheck
if grep -q tests ${ipkgName}.ipkg; then
idris --testpkg ${ipkgName}.ipkg
idris --testpkg ${ipkgName}.ipkg ${lib.escapeShellArgs idrisTestOptions}
fi
runHook postCheck
'';

installPhase = ''
runHook preInstall
idris --install ${ipkgName}.ipkg --ibcsubdir $out/libs
idris --install ${ipkgName}.ipkg --ibcsubdir $out/libs ${lib.escapeShellArgs idrisInstallOptions}
IDRIS_DOC_PATH=$out/doc idris --installdoc ${ipkgName}.ipkg || true
IDRIS_DOC_PATH=$out/doc idris --installdoc ${ipkgName}.ipkg ${lib.escapeShellArgs idrisDocOptions} || true
# If the ipkg file defines an executable, install that
executable=$(grep -Po '^executable = \K.*' ${ipkgName}.ipkg || true)
22 changes: 22 additions & 0 deletions pkgs/development/ocaml-modules/minisat/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{ lib, buildDunePackage, fetchFromGitHub }:

buildDunePackage rec {
pname = "minisat";
version = "0.2";

minimumOCamlVersion = "4.05";

src = fetchFromGitHub {
owner = "c-cube";
repo = "ocaml-minisat";
rev = version;
sha256 = "1jibylmb1ww0x42n6wl8bdwicaysgxp0ag244x7w5m3jifq3xs6q";
};

meta = {
homepage = https://c-cube.github.io/ocaml-minisat/;
description = "Simple bindings to Minisat-C";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ mgttlinger ];
};
}
50 changes: 36 additions & 14 deletions pkgs/development/python-modules/altair/default.nix
Original file line number Diff line number Diff line change
@@ -1,30 +1,52 @@
{ stdenv, buildPythonPackage, fetchPypi
, pytest, jinja2, sphinx, vega_datasets, ipython, glibcLocales
, entrypoints, jsonschema, numpy, pandas, six, toolz, typing
, pythonOlder, recommonmark }:
, entrypoints
, glibcLocales
, ipython
, jinja2
, jsonschema
, numpy
, pandas
, pytest
, pythonOlder
, recommonmark
, six
, sphinx
, toolz
, typing
, vega_datasets
}:

buildPythonPackage rec {
pname = "altair";
version = "3.1.0";
version = "3.2.0";

src = fetchPypi {
inherit pname version;
sha256 = "1zdznkybw3g8fd280h5j5cnnwcv30610gp8fl8vwqda1w2p6pgvp";
sha256 = "098macm0sw54xqijdy1c8cppcgw79wn52qdc71qqb51nibc17gls";
};

postPatch = ''
# Tests require network
rm altair/examples/boxplot_max_min.py altair/examples/line_percent.py
'';

checkInputs = [ pytest jinja2 sphinx vega_datasets ipython glibcLocales recommonmark ];
propagatedBuildInputs = [
entrypoints
jsonschema
numpy
pandas
six
toolz
] ++ stdenv.lib.optionals (pythonOlder "3.5") [ typing ];

propagatedBuildInputs = [ entrypoints jsonschema numpy pandas six toolz ]
++ stdenv.lib.optionals (pythonOlder "3.5") [ typing ];
checkInputs = [
glibcLocales
ipython
jinja2
pytest
recommonmark
sphinx
vega_datasets
];

checkPhase = ''
export LANG=en_US.UTF-8
py.test altair --doctest-modules
pytest --doctest-modules altair
'';

meta = with stdenv.lib; {
Loading