Commit graph

41 commits

Author SHA1 Message Date
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
zowoq
c7e61112df treewide: remove deprecated value Application from makeDesktopItem 2020-06-25 12:18:37 +10:00
Jörg Thalheim
887295fd2d
treewide: remove the-kenny from maintainers
@the-kenny did a good job in the past and is set as maintainer in many package,
however since 2017-2018 he stopped contributing. To create less confusion
in pull requests when people try to request his feedback, I removed him as
maintainer from all packages.
2020-05-09 10:28:57 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Patrick Hilhorst
593e11fd94
treewide: fix redirected urls
According to https://repology.org/repository/nix_unstable/problems, we have a
lot of packages that have http links that redirect to https as their homepage.
This commit updates all these packages to use the https links as their
homepage.

The following script was used to make these updates:

```

curl https://repology.org/api/v1/repository/nix_unstable/problems \
    | jq '.[] | .problem' -r \
    | rg 'Homepage link "(.+)" is a permanent redirect to "(.+)" and should be updated' --replace 's@$1@$2@' \
    | sort | uniq > script.sed

find -name '*.nix' | xargs -P4 -- sed -f script.sed -i
```
2020-01-22 11:26:22 +01:00
Marcus Boyd
4692b6e320 slic3r: patch to fix compile error if Boost > 1.55 2019-11-27 14:49:36 +01:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
André-Patrick Bubel
0ee35c56bd
prusa-slicer: renamed from slic3r-prusa3d and updated 1.41.3 -> 2.0.0
The slic3r-prusa3d package was renamed by upstream to PrusaSlicer with
the 2.0.0 release to reduce confusion with the slic3r package.

We compile against wxGTK 3.0, as with 3.1 the application crashes (see
2019-05-26 23:42:46 +02:00
Martin Weinelt
8774ce8233
slic3r-prusa3d: 1.41.2 -> 1.41.3
Adds support for the following new printer variants:
- Original Prusa i3 MK3S
- Original Prusa i3 MK3S MMU2S
- Original Prusa i3 MK2.5S
- Original Prusa i3 MK2.5S MMU2S
2019-02-18 19:57:04 +01:00
Herman Fries
3cc341d6f2 slic3r-prusa3d: Create desktop file 2019-01-19 02:45:57 +01:00
volth
6d2edfb0b8 treewide: remove aliases evaluated to null 2018-12-14 16:27:53 +00:00
André-Patrick Bubel
bd676cf697
slic3r-prusa3d: 1.41.1 -> 1.41.2 2018-11-29 05:14:32 +01:00
Renaud
b5784b42b4
Merge pull request #50720 from Moredread/slic3r-prusa3d/1.41.1-fixes
slic3r-prusa3d: multiple fixes
2018-11-28 15:38:25 +01:00
André-Patrick Bubel
59ba6a3e2b
slic3r-prusa3d: patch lib name for newer nlopt versions
The upgrade to version 2.5.0 of nlopt broke building of slic3r-prusa3d
because the C++ version of the nlopt lib is now integrated into
`libnlopt`.
2018-11-19 14:16:27 +01:00
André-Patrick Bubel
d9a02b82d9
slic3r-prusa3d: fix sha256 for version 1.41.1
The release tag was updated a few days after the initial release.
2018-11-19 14:16:27 +01:00
Thorsten Weber
685d11bd3d slic3r: 1.2.9 -> 1.3.0 2018-11-17 21:13:41 +01:00
André-Patrick Bubel
15f275d1b9
slic3r-prusa3d: 1.41.0 -> 1.41.1 2018-10-24 17:12:32 +02:00
André-Patrick Bubel
5ebf16dc9e
slic3r-prusa3d: mark as broken on aarch64 2018-10-08 22:42:31 +02:00
André-Patrick Bubel
0dd86a350d
slic3r-prusa3d: 1.40.1 -> 1.41.0 2018-10-03 19:55:54 +02:00
André-Patrick Bubel
2125e07024
slic3r-prusa3d: comments on why we apply some patches 2018-10-02 21:35:22 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
André-Patrick Bubel
34a8ebc7b1 slic3r-prusa3d: 1.40.0 -> 1.40.1 (#43102) 2018-07-06 12:25:58 +02:00
Thorsten Weber
dcb8828a8e slic3r-prusa3d: 1.39.2 -> 1.40.0
Don't understand why PERL_VENDORARCH and PERL_VENDORLIB need replacing now.
2018-06-16 01:37:45 +02:00
Profpatsch
67b6b25134 slic3r: add missing perl dependencies 2018-06-10 22:46:57 +02:00
Thorsten Weber
9485034401 slic3r-prusa3d: 1.39.1 -> 1.39.2 2018-05-10 01:46:51 +02:00
Matthew Bauer
52893d5276 treewide: move "extensions" drvs to dir
This cleans up the tree for pkgs/applications somewhat. Should not
change any hashes.
2018-04-17 13:50:49 -05:00
Samuel Leathers
707ee76522 slic3r: fix build with gcc6 2017-09-08 16:58:33 +02:00
Peter Jones
f303a072c0 slic3r: Add LWP for "Send to printer"
This patch adds a dependency on the LWP perl module so that Slic3r can
make HTTP connections to Octoprint and send G-code to a remote printer.
2016-07-18 21:22:23 +02:00
Tuomas Tynkkynen
bac26e08db Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
Graham Christensen
29cf3ecd78 slic3r: Add ModuleBuild to BuildInputs, due to http://hydra.nixos.org/build/33298227/nixlog/1 2016-03-22 21:01:19 -05:00
Tobias Geerinckx-Rice
32d40f0f98 Remove no longer (or never) referenced patches
55 files changed, 6041 deletions. Tested with `nix-build -A tarball`.
2016-01-24 02:02:21 +01:00
Bob van der Linden
d8028930a0 slic3r: 1.2.6 -> 1.2.9 2015-10-22 14:28:59 +02:00
Moritz Ulrich
f68ab19ff5 slic3r: Update to 1.2.7. 2015-06-07 15:43:53 +02:00
Bjørn Forsman
962690cc18 slic3r: update 1.2.1 -> 1.2.6
Release notes: http://slic3r.org/releases/1.2.6

Slic3r needs additional dependency, 'threads'. Add it.

In addition to bug fixes and some new features, this update stops Slic3r
from printing this on startup:

  Running Slic3r under Perl >= 5.16 is not supported nor recommended

We don't have perl < 5.16 anymore, so we better update slic3r.
2015-04-06 16:27:38 +02:00
Bjørn Forsman
7273ca19b3 slic3r: remove unneeded dependency on BoostGeometryUtils
Slic3r dropped this dependency in v1.1.0 and we have v1.2.x.

And more importantly, BoostGeometryUtils is currently broken (fails on
newer Perl versions), so this patch unbreaks Slic3r.
2015-04-06 15:48:15 +02:00
aszlig
6b467ade2c
slic3r: Remove meta.broken due to Perl update.
The update happened in fac757a77e.

So it was a looong time ago and the build is working right now.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-04-02 20:56:35 +02:00
Eelco Dolstra
9f914a3f82 perl-5.14: Remove
It's EOL and unmaintained. There was only one package using it which
I've marked as broken.
2014-11-18 10:42:23 +01:00
Moritz Ulrich
0fc8d92e53 slic3r: Bump to 1.2.1
Also adds OpenGL and WxGLCanvas to perlPackages..

OpenGL currently contains some pretty ugly hacks regarding OpenGL
feature-detection. Expect it to fail on different systems.
2014-11-15 19:22:59 +01:00
Moritz Ulrich
77437983a2 Slic3r: Bump to 1.1.7. 2014-08-20 16:27:47 +02:00
Bjørn Forsman
4d6605e882 Whitespace fixes in package expressions I maintain 2014-01-02 17:58:08 +01:00
Bjørn Forsman
49fccb03e9 slic3r: new package
Slic3r is a G-code generator for 3D printers.

- Math-Clipper and Boost-Geometry-Utils have been bumped to satisfy
  Slic3r.

- Slic3r has problems with perl 5.16 due to a locale issue (comma vs
  period in floating point numbers). So we use perl 5.14.

- The tests fail, so we skip them. According to the author of Slic3r,
  that should be safe:

    "Tests failed because of a typo when the 0.9.10b tag was applied.
    You can safely ignore the test results, Slic3r will work."

  See https://github.com/alexrj/Slic3r/issues/1303

  For reference, the errors look like this:

    Use of uninitialized value $deg in numeric eq (==) at /tmp/nix-build-perl-slic3r-0.9.10b.drv-0/git-export/t/../lib/Slic3r/TriangleMesh.pm line 328.
    # Looks like your test exited with 255 before it could output anything.
2013-07-11 01:35:00 +02:00