Skip to content
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
base: 747a426ce631
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 6baf97fe6159
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Mar 18, 2018

  1. pythonPackages.thumbor: 6.3.2 -> 6.4.2; fix build

    Origianlly the package was broken as bumping `pythonPackages.pillow` to
    5.x broke `thumbor`. The latest upstream version `6.4.2` solved this
    issue, so a simple package bump was sufficient.
    
    Furthermore the following changes were made:
    
    - moved the expression into its own file
    - added myself as maintainer in case of any further breackage
    - re-enabled python3 build: 6.4.2 is fine with python3, however the
      `futures` dependency can't be satisfied anymore as it's part of
      Python3. Therefore a patch for `setup.py` will be applied for Python3
      buildsto drop the dependency
    
    Note: the testsuite is disabled for now as several impure tests are done
    and our testing environment seems to be unable to work the with the
    natively compiled python modules properly.
    
    Therefore I tested the module using the following expression:
    
    ``` nix
    with import ./. {};
    
    stdenv.mkDerivation {
      name = "thumbor-test";
      src = null;
      buildInputs = [ python pythonPackages.thumbor ];
    }
    ```
    
    Inside this nix shell `thumbor` works fine and the native modules can be
    imported.
    
    See https://hydra.nixos.org/build/71062729/log
    See ticket #36453
    
    (cherry picked from commit 23e6689)
    Ma27 authored and Robert Schütz committed Mar 18, 2018
    Configuration menu
    Copy the full SHA
    6baf97f View commit details
    Browse the repository at this point in the history