Commit Graph

60 Commits

Author SHA1 Message Date
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
Anderson Torres
f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03:00
Emily
b680e6f51d tetgen: enable on all unix platforms 2024-08-02 23:12:31 +01:00
Emily
8696744ce9 treewide: clean up uses of lib{GL,GLU,glut}.dev
These were now broken on Darwin; most of them were unnecessary,
but best practice for the remaining ones is to use `lib.getDev`.
2024-06-22 18:06:51 +01:00
Emily
fbda1dbfd6 treewide: replace freeglut with libglut
Allow the macOS GLUT framework to be used automatically in many
cases. Packages that specifically search for freeglut or require its
additional APIs should still explicitly depend on it.

Deliberately skip the Haskell package set, which is mostly
automatically generated, and mupdf, which has its own fork of freeglut.
2024-06-22 18:06:51 +01:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Weijia Wang
d050f04dc5 gama: fix build on aarch64-darwin 2024-01-28 08:25:53 +01:00
R. Ryantm
d6b2103c7a gama: 2.27 -> 2.28 2024-01-17 07:51:38 +00:00
R. Ryantm
c8208d43fd gama: 2.26 -> 2.27 2023-11-22 08:06:27 -08:00
Weijia Wang
4a6dff8f83 drgeo: drop 2023-10-15 01:01:30 -03:00
R. Ryantm
cc7d88f247 gama: 2.25 -> 2.26 2023-10-10 03:25:45 +00:00
R. Ryantm
d0d2a84f6a gama: 2.24 -> 2.25 2023-09-04 00:12:07 +00:00
R. Ryantm
95832c2802 antiprism: 0.29 -> 0.30 2023-05-13 13:57:15 -03:00
R. Ryantm
166bed2b29 gama: 2.23 -> 2.24 2023-03-16 00:43:50 +00:00
Weijia Wang
f7bd2378b7
Merge pull request #195613 from r-ryantm/auto-update/gama
gama: 2.22 -> 2.23
2023-01-22 23:57:03 +01:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
R. Ryantm
00cb2a10cc gama: 2.22 -> 2.23 2022-10-12 03:31:49 +00:00
Artturin
0734f54ef2 treewide: move pkg-config, autoreconfHook, intltool to nativeBuildInputs
found with nixpkgs-lint
2022-09-26 17:53:26 +03:00
R. Ryantm
3bced25629 gama: 2.21 -> 2.22 2022-09-05 22:06:20 +00:00
R. Ryantm
a36984e191 gama: 2.19 -> 2.21 2022-07-31 09:39:15 +00:00
kilianar
8289230b47 gama: 2.17 -> 2.19 2022-06-16 13:56:09 +02:00
ajs124
80160499bc
Merge pull request #160340 from helsinki-systems/tetgen
tetgen: also install library and headers
2022-02-17 01:57:18 +01:00
Scriptkiddi
c8fb08b1e4 tetgen: also install library and headers 2022-02-17 01:37:28 +01:00
R. Ryantm
36800803c5 gama: 2.16 -> 2.17 2022-02-12 20:54:56 -08:00
R. Ryantm
baf80d066b gama: 2.14 -> 2.16 2021-12-10 22:15:01 +00:00
Felix Buehler
b52ab3b712 pkgs/applications: rename name to pname&version part 2 2021-11-07 14:53:06 +01:00
R. Ryantm
253e9ecfab antiprism: 0.26 -> 0.29 2021-11-02 11:08:06 +00:00
R. RyanTM
323134240a gama: 2.12 -> 2.14 2021-08-09 00:26:53 +00:00
Felix Buehler
82cb33a0ae treewide: remove meta.version 2021-07-18 00:07:38 +02:00
R. RyanTM
224fc21cc3 tetgen: 1.5.1 -> 1.6.0 2021-04-26 01:32:28 -04:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +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
Matthias Beyer
fd4a486dea gama: 2.09 -> 2.12
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-12-23 16:58:32 +00:00
AndersonTorres
f61b91cec4 antiprism: init at 0.26 2020-11-14 00:37:10 -03:00
Lancelot SIX
9eccd6417a
gama: init at 2.09 2020-07-18 18:58:22 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM
53706054ba tetgen: 1.5.0 -> 1.5.1 2020-01-30 12:47:50 +00:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00: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 Kowalewski
2ed07fdb2b
drgeo: add license + homepage 2018-09-08 14:42:12 +02: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
Kirill Boltaev
bccd75094f treewide: explicitly specify gtk and related package versions 2016-09-12 18:26:06 +03:00
Robin Gloster
1b979d8384 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-08-03 13:34:44 +00: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
Franz Pletz
aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster
d117254822 drgeo: turn off format hardening 2016-02-07 20:54:52 +00:00
Joachim Fasting
42fc03411f drgeo: reimplement using mkDerivation 2015-11-24 14:45:15 +01:00
Mathnerd314
eb7404d97a all-packages: Use callPackage where possible 2015-09-14 22:27:19 -06:00