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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 01f88218d254
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9b3e5a3aab72
Choose a head ref
  • 3 commits
  • 3 files changed
  • 2 contributors

Commits on Mar 5, 2019

  1. pythonPackages.libarcus: use pkgs.protobuf as input

    This commit makes pkgs.protobuf the input for libarcus, since the latter
    searches for the native protobuf library and not for the Python module.
    jokogr authored and Robert Schütz committed Mar 5, 2019
    Copy the full SHA
    6a523a1 View commit details
  2. curaengine: add protobuf in buildInputs

    jokogr authored and Robert Schütz committed Mar 5, 2019
    Copy the full SHA
    c14eed2 View commit details
  3. Merge pull request #56696 from jokogr/f/libarcus

    pythonPackages.libarcus: use pkgs.protobuf as input
    dotlambda authored Mar 5, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9b3e5a3 View commit details
Showing with 5 additions and 4 deletions.
  1. +2 −2 pkgs/applications/misc/curaengine/default.nix
  2. +2 −1 pkgs/development/python-modules/libarcus/default.nix
  3. +1 −1 pkgs/top-level/python-packages.nix
4 changes: 2 additions & 2 deletions pkgs/applications/misc/curaengine/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fetchpatch, cmake, libarcus, stb }:
{ stdenv, fetchFromGitHub, fetchpatch, cmake, libarcus, stb, protobuf }:

stdenv.mkDerivation rec {
name = "curaengine-${version}";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};

nativeBuildInputs = [ cmake ];
buildInputs = [ libarcus stb ];
buildInputs = [ libarcus stb protobuf ];

cmakeFlags = [ "-DCURA_ENGINE_VERSION=${version}" ];

3 changes: 2 additions & 1 deletion pkgs/development/python-modules/libarcus/default.nix
Original file line number Diff line number Diff line change
@@ -15,8 +15,9 @@ buildPythonPackage rec {

disabled = pythonOlder "3.4.0";

propagatedBuildInputs = [ sip protobuf ];
propagatedBuildInputs = [ sip ];
nativeBuildInputs = [ cmake ];
buildInputs = [ protobuf ];

postPatch = ''
# To workaround buggy SIP detection which overrides PYTHONPATH
2 changes: 1 addition & 1 deletion pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -2996,7 +2996,7 @@ in {

fs-s3fs = callPackage ../development/python-modules/fs-s3fs { };

libarcus = callPackage ../development/python-modules/libarcus { };
libarcus = callPackage ../development/python-modules/libarcus { inherit (pkgs) protobuf; };

libcloud = callPackage ../development/python-modules/libcloud { };