Commit graph

22 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
sternenseemann 4f927ee341 imv: make every backend and window system configurable
The following new derivation inputs are added:
* withBackends: a list of all backends to enable. The valid names are
  the same as specified in imv's meson_options.txt. Default is to enable
  all 7 backends: freeimage, libtiff, libjpeg(_turbo), libpng, librsvg,
  libnsgif and libheif
* withWindowSystem: either all, x11 or wayland to describe window system
  support.
2021-01-05 00:23:09 +01:00
sternenseemann c391b303ca imv: use substituteInPlace 2021-01-04 14:41:45 +01:00
sternenseemann a1e9a94785 imv: 4.1.0 -> 4.2.0
* switch build system to wayland
* enable all backends by adding the following to buildInputs as meson
  autodetects which backends are available.
  * libtiff
  * libheif
  * libpng

Open questions:

* imv prints a warning from the tiff backend everytime a non tiff file
  is opened: Is this normal? Seems harmless enough though.
* Should we make backends configurable / optional? I readded some
  backends which apparently were removed, but still given as an argument
  to the derivation.

Resolves #108185.
2021-01-03 12:54:39 +01:00
Markus Hauck 1320526747 imv: enable LIBNSGIF and LIBJPEG backends 2020-10-18 18:26:41 +02:00
Daiderd Jordan b7ddbd52bd
treewide: replace SRI hashes 2020-06-01 15:24:19 +02:00
adisbladis 1f8bda3ce2
ivm: Package is not x86 specific 2020-05-23 22:47:22 +01:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Justin Humm ccb4a4e4e9
imv: 4.0.1 -> 4.1.0 2020-01-09 21:00:18 +01:00
Markus Hauck 8e6b1cac31 imv: 3.1.2 -> 4.0.1 2019-09-06 10:05:32 +02: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
Markus Hauck 6b3fe044fc imv: 3.0.0 -> 3.1.2 2019-07-19 08:52:00 +02:00
aszlig 7bda775331
imv: Include i686-linux in platforms attribute
The package builds and works fine on i686-linux, so there is no need to
fail evaluation on those systems.

Signed-off-by: aszlig <aszlig@nix.build>
Issue: #45976
Cc: @rnhmjoj, @xeji
2018-09-09 10:30:58 +02:00
rnhmjoj d5b0c4d5c2
imv: build only on x86_64 linux 2018-09-04 00:35:17 +02:00
rnhmjoj 7a58a44474
imv: 2.1.3 -> 3.0.0 2018-09-03 14:22:32 +02:00
rnhmjoj 9aeb730822
imv: 2.1.2 -> 2.1.3 2016-10-31 22:12:04 +01:00
rnhmjoj f0daeb575a
imv: fix failing build 2016-08-27 06:42:44 +02:00
rnhmjoj 8c489cdd6e
imv: 2.0.0 -> 2.1.2 2016-05-28 15:00:32 +02:00
rnhmjoj 16d6eb45f1 imv: 1.2.0 -> 2.0.0 2016-02-13 05:13:49 +01:00
rnhmjoj e8c55a06e2 imv: 1.0.0 -> 1.1.0 2015-12-08 16:22:16 +01:00
rnhmjoj 994753322c imv: add version in the package name 2015-11-14 10:11:12 +01:00
rnhmjoj 03121cd5ac imv: init at 1.0.0 2015-11-12 19:40:00 +01:00