Commit graph

17 commits

Author SHA1 Message Date
Ben Siraphob
108bdac3d9 pkgs/applications: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
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
Ben Siraphob
b04fc593e7 treewide: cmake buildInputs to nativeBuildInputs, minor cleanups 2021-01-01 11:52:33 +07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +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
worldofpeace
59f6083281 apvlv: fix build with poppler 0.73.0
Poppler was upgraded in [0] and therefore the build broke, as
poppler/goo/gtypes.h was moved into poppler/goo/gfile.h [1].

Upstream issue is [2].

[0] 7757e43fcb
[1] ef3ef702bc
[2] https://github.com/naihe2010/apvlv/issues/28
2019-02-07 21:12:50 +00:00
Matthieu Coudron
7d20acdbcd apvlv: add .desktop file 2018-10-15 18:00:37 +09:00
Vladimír Čunát
922d55aae8
Merge #36680: apvlv: fix build with gcc7 2018-03-09 20:53:46 +01:00
Piotr Bogdan
de93488d09 apvlv: fix build with gcc7 2018-03-09 18:17:44 +00:00
Matthew Bauer
54e2c28b09 darwin: disable broken packages 2018-03-08 17:21:17 -06:00
John Ericson
ed14223f8c treewide: Manual fix more pkg-config build-inputs 2017-09-21 15:49:54 -04:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Jörg Thalheim
5fcdd6c562
apvlv: use wrapGAppsHook 2017-06-04 11:00:48 +01:00
David Asabina
5029b39b44 apvlv: copy main_menubar.glade to out dir
The application requires the main_menubar.glade alongside the
Startup.pdf. Just making sure all required assets are present 😉.

Currently `apvlv` fails with the `(apvlv:16999): Gtk-ERROR **: failed to add UI: Failed to open file '${store-path}-apvlv-0.1.5/share/doc/apvlv/main_menubar.glade': No such file or directory
zsh: trace trap  apvlv` error.
2017-06-04 06:50:53 +02:00
Robin Gloster
dc52135d55
apvlv: 0.1 -> 0.1.5 2017-01-25 20:12:41 +01:00
Tuomas Tynkkynen
ebf6b3cd51 treewide: Make explicit that 'dev' output of poppler is used 2016-05-19 10:02:29 +02:00
Antoine R. Dumont
dac5a45acf Add apvlv pdf reader 2015-06-06 21:02:46 +02:00