diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-06-16 08:55:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-16 08:55:58 +0100 |
commit | 556f670c15b13aec3ef5e72623adfbb7cdbe57fc (patch) | |
tree | 2ae1e6f234c5a028fd738edea74eb9eacceb7b3d /pkgs | |
parent | 51cab4eddde1b4827cc28dec36988dbdc50e601f (diff) | |
parent | dcb8828a8e9be79d56a38684afd9be8fb73697b5 (diff) |
Merge pull request #42082 from thorstenweber83/update-slic3r
slic3r-prusa3d: 1.39.2 -> 1.40.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/misc/slic3r/prusa3d.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/applications/misc/slic3r/prusa3d.nix b/pkgs/applications/misc/slic3r/prusa3d.nix index 371bf26fe6c8c..f8b5f45d9c511 100644 --- a/pkgs/applications/misc/slic3r/prusa3d.nix +++ b/pkgs/applications/misc/slic3r/prusa3d.nix @@ -1,6 +1,6 @@ { stdenv, fetchFromGitHub, makeWrapper, which, cmake, perl, perlPackages, boost, tbb, wxGTK30, pkgconfig, gtk3, fetchurl, gtk2, bash, libGLU, - glew, eigen }: + glew, eigen, curl }: let AlienWxWidgets = perlPackages.buildPerlPackage rec { name = "Alien-wxWidgets-0.69"; @@ -33,12 +33,13 @@ let in stdenv.mkDerivation rec { name = "slic3r-prusa-edition-${version}"; - version = "1.39.2"; + version = "1.40.0"; enableParallelBuilding = true; buildInputs = [ cmake + curl perl makeWrapper eigen @@ -73,6 +74,8 @@ stdenv.mkDerivation rec { prePatch = '' sed -i 's|"/usr/include/asm-generic/ioctls.h"|<asm-generic/ioctls.h>|g' xs/src/libslic3r/GCodeSender.cpp + sed -i "s|\''${PERL_VENDORARCH}|$out/lib/slic3r-prusa3d|g" xs/CMakeLists.txt + sed -i "s|\''${PERL_VENDORLIB}|$out/lib/slic3r-prusa3d|g" xs/CMakeLists.txt ''; postInstall = '' @@ -82,14 +85,14 @@ stdenv.mkDerivation rec { # it seems we need to copy the icons... mkdir -p $out/bin/var - cp ../resources/icons/* $out/bin/var/ + cp -r ../resources/icons/* $out/bin/var/ cp -r ../resources $out/bin/ ''; src = fetchFromGitHub { owner = "prusa3d"; repo = "Slic3r"; - sha256 = "0vbqkmd2yqi469ijqm4wyzjmq9w1kwiy8av1kchm4429z5hpmxcd"; + sha256 = "1cisplrfv6y9ijgl5bs46bxxmid5hl71hjzl73bay2i2bl8hid2f"; rev = "version_${version}"; }; |