Commit graph

84 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
R. RyanTM dbdcc1da4c guile-cairo: 1.11.1 -> 1.11.2 2020-12-02 09:37:31 +00:00
AndersonTorres cb4562f41d guile-reader: 0.6.2 -> 0.6.3 2020-10-12 04:07:17 -03:00
R. RyanTM 0b64a70398 guile-sdl2: 0.4.0 -> 0.5.0 2020-09-06 22:36:15 +01:00
R. RyanTM fa678b3228 guile-cairo: 1.11.0 -> 1.11.1 2020-06-17 12:41:47 -07:00
R. RyanTM f0d1eec449 guile-cairo: 1.10.0 -> 1.11.0 2020-05-27 12:16:50 -07:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Anders Kaseorg 3cd8ce3bce treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH
Naive concatenation of $LD_LIBRARY_PATH can result in an empty
colon-delimited segment; this tells glibc to load libraries from the
current directory, which is definitely wrong, and may be a security
vulnerability if the current directory is untrusted.  (See #67234, for
example.)  Fix this throughout the tree.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-01-15 09:47:03 +01:00
Robin Gloster ac8eaa8507
treewide: fix *Flags 2019-12-30 04:50:37 +01:00
Jan Tojnar 72e7d569a7
tree-wide: s/GTK+/GTK/g
GTK was renamed.
2019-09-06 02:54:53 +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
R. RyanTM f5fb6dd796 guile-sdl2: 0.3.1 -> 0.4.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/guile-sdl2/versions
2019-07-01 10:25:32 -07:00
R. RyanTM 96e513df82 guile-lib: 0.2.2 -> 0.2.6.1 (#60978)
* guile-lib: 0.2.2 -> 0.2.6.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/guile-lib/versions

* guile-cairo: disable tests
2019-05-18 19:07:56 +02:00
c0bw3b 0498ccd076 Treewide: use HTTPS on GNU domains
HTTP -> HTTPS for :
- http://gnu.org/
- http://www.gnu.org/
- http://elpa.gnu.org/
- http://lists.gnu.org/
- http://gcc.gnu.org/
- http://ftp.gnu.org/ (except in fetchurl mirrors)
- http://bugs.gnu.org/
2018-12-02 15:51:59 +01:00
c0bw3b a04a512f34 Treewide: use HTTPS on NonGNU domains 2018-12-02 15:21:04 +01:00
R. RyanTM e2ac38fdac guile-sdl2: 0.2.0 -> 0.3.1
* guile-sdl2: 0.2.0 -> 0.3.1 (#50730)

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/guile-sdl2/versions

* guilde-sdl2: split native build inputs

libtool and pkgconfig are moved from buildInputs to nativeBuildInputs
2018-11-21 13:12:14 +01:00
c0bw3b b13a6b6791 guile-cairo: 1.4.1 -> 1.10.0 2018-10-13 15:38:57 +02:00
AndersonTorres adf095d222 guile-reader: small fixes 2018-10-06 23:36:19 -03:00
Jan Malakhovski 9d257df3a1 guile-cairo: use checkInputs 2018-08-11 09:35:24 +00:00
AndersonTorres 49008f9c71 guile-reader: init at 0.6.2 2018-06-27 15:23:20 -03:00
Will Dietz 855e0463ab tree-wide: platforms = platforms.gnu; -> platforms = gnu ++ linux
"platforms.gnu" has been linux-only since at least 17.03:

$ nix eval -f channel:nixos-17.03 lib.platforms.gnu
[ "i686-linux" "x86_64-linux" "armv5tel-linux" "armv6l-linux" "armv7l-linux" "aarch64-linux" "mips64el-linux" ]

Unlike platforms.linux, platforms.gnu indicates "must use glibc"
which for the most part is not intended.

Replacing platforms.gnu with platforms.linux would be the same "today"
but let's err on preserving existing behavior and be optimistic
about platforms these packages work on.
2018-04-30 18:08:48 -05:00
Daiderd Jordan 43a686f4c7
guile-fibers: mark linux only 2018-04-05 20:05:23 +02:00
Orivej Desh fda26c8476 Merge branch 'master' into staging
* master: (271 commits)
  pysmbc: clarify license
  pysmbc: fix license
  bazel: 0.5.4 -> 0.6.0 (#29990)
  googler: init at 3.3
  go: declare support for aarch64
  firefox-beta-bin: 56.0b5 -> 57.0b4
  spotify: 1.0.64.401.g9d720389-21 -> 1.0.64.407.g9bd02c2d-26
  gogs: 0.11.19 -> 0.11.29
  grafana: 4.5.1 -> 4.5.2
  mopidy-iris: 3.4.1 -> 3.4.9
  nextcloud: 12.0.2 -> 12.0.3
  haskell-json-autotype: jailbreak to fix build within LTS 9.x
  kore: fix up
  kore: init at 2.0.0
  glusterfs service: fix issues with useRpcbind
  tig: 2.2.2 -> 2.3.0
  haskell-hspec-core: enable test suite again
  hackage-packages.nix: automatic Haskell package set update
  librsvg: fix thumbnailer path
  awscli: 1.11.108 -> 1.11.162
  ...
2017-10-02 00:22:12 +00:00
John Ericson f037625f87 Merge remote-tracking branch 'upstream/staging' into deps-reorg 2017-09-28 12:32:57 -04:00
Robin Gloster b3dab5b088 guile-gnome: nitpicks fixed 2017-09-28 14:51:41 +02:00
xd1le 88ef99e2c3 guile-gnome: code style formatting nitpicks 2017-09-28 14:51:41 +02:00
xd1le 16012ff98a guile-gnome: remove taktoa and amiloradovsky from maintainers and add
vyp

See discussion in [1].

[1]: https://github.com/NixOS/nixpkgs/pull/29732
2017-09-28 14:51:41 +02:00
Orivej Desh 637c105159 Merge pull request #29887 from vyp/upd/guile-sdl2
guile-sdl2: 0.1.0 -> 0.2.0
2017-09-28 10:06:09 +00:00
xd1le 8543e31f66 guile-sdl2: 0.1.0 -> 0.2.0
Autoconf, automake, and running `./bootstrap` is no longer required
because we are now building from the tarball, which includes the
generated ./configure script.
2017-09-28 14:54:04 +10:00
xd1le 47710757db guile-sdl2: set the correct upstream license 2017-09-28 14:42:55 +10:00
xd1le 1c818af667 guile-sdl2: use the proper homepage URL 2017-09-28 14:41:12 +10:00
xd1le 2327fa6996 guile-sdl2: add vyp as maintainer 2017-09-28 14:40:32 +10:00
xd1le c758e553de guile-sdl2: code formatting nits 2017-09-28 14:40:12 +10:00
xd1le 01eb7d8644 guile-sdl: 0.5.1 -> 0.5.2 2017-09-28 13:53:08 +10:00
xd1le 3579d7e2b2 guile-modules: stylistic nix expression changes to modules with sole
maintainer vyp
2017-09-24 22:29:29 +10:00
xd1le 796b69318f guile-modules: add vyp as maintainer to unmaintained guile modules 2017-09-24 22:24:49 +10:00
xd1le d7d33bd17c guile-modules: rename top level attributes to be consistent 2017-09-24 22:24:49 +10:00
Jörg Thalheim ffe34944ec Merge pull request #29725 from rvl/guile-lib
guile-lib: Disable a test which doesn't work with Guile 2.2
2017-09-24 11:34:57 +01:00
Joerg Thalheim 6786ad7db6 guile-fibers: nitpicks 2017-09-24 11:30:43 +01:00
xd1le 6aa0307145 guile-fibers: init at 1.0.0 2017-09-24 20:01:47 +10:00
Rodney Lorrimar 913e770fa8 guile-lib: Disable a test which doesn't work with Guile 2.2
Error is:

    ERROR: In procedure %resolve-variable:
    ERROR: Unbound variable: use-syntax
    FAIL: sxml.ssax.scm

Also add pkg-config so that configure script can find libguile.

Relevant to #28643
2017-09-24 10:45:39 +01:00
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -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
Vladimír Čunát 9ee2143912
treewide: remove unused buildEnv parameters 2017-04-16 10:29:49 +02:00
Vladimír Čunát 714eabc5af
guile rev-deps: fix build by adding pkgconfig
Without it packages fail to find the headers, after guile has split
them into a separate output in 218713a.
2017-02-18 08:23:07 +01:00
Drill Bear 71ea89f5e1 guile_ncurses: Use absolute path to load libguile-ncurses 2016-10-12 20:47:55 +01:00
Kirill Boltaev bccd75094f treewide: explicitly specify gtk and related package versions 2016-09-12 18:26:06 +03:00
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Andrew Miloradovsky 87e008d538 guile-gnome-platform: 20150123 -> 2.16.4
No more `git clone`. Fetch a tarball.
2016-07-22 16:22:06 +00:00
Kranium Gikos Mendoza 1c7cb20fb1 guile-sdl: fix after multiple-outputs change 2016-07-16 12:06:51 +08:00