Commit Graph

28 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
Nick Cao
9b275ff032
dmlive: format with nixfmt 2024-11-07 13:42:26 -05:00
Nick Cao
7f271a2a68
dmlive: move to by-name 2024-11-07 13:42:25 -05:00
Ben Webb
79dd55af66
dmenu-rs: refactor to add variant with enabled plugins
Add the dmenu-rs-enable-plugins package.

The dmenu-rs-enable-plugins package is identical the dmenu-rs, except
that it is built with all plugins available in the dmenu-rs respository
(whereas the dmenu-rs package is built with none). The same underlying
derivation is use, except a boolean flag is passed to indicate whether
or not to enable plugins.

See https://github.com/NixOS/nixpkgs/issues/333733
and https://github.com/Shizcow/dmenu-rs
2024-10-28 23:50:16 -05:00
Ben Webb
329a9c1d97
dmenu-rs: move to pkgs/by-name 2024-10-28 23:50:06 -05:00
wxt
6c40860248 dms: 1.6.0 -> 1.7.1 2024-10-23 16:13:36 +08:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
claes
7d95d63b85 dms: init at 1.6.0 2024-09-04 10:24:23 +02:00
Peder Bergebakken Sundt
fcdecc256a
treewide: change ${pname} to string literal (#336172)
* adwaita-icon-theme: change `${pname}` to string literal

* alp: change `${pname}` to string literal

* alsa-oss: change `${pname}` to string literal

* alsa-plugins: change `${pname}` to string literal

* alsa-ucm-conf: change `${pname}` to string literal

* alsa-utils: change `${pname}` to string literal

* anyrun: change `${pname}` to string literal

* assemblyscript: change `${pname}` to string literal

* audiobookshelf: change `${pname}` to string literal

* baobab: change `${pname}` to string literal

* braa: change `${pname}` to string literal

* brill: change `${pname}` to string literal

* centrifugo: change `${pname}` to string literal

* cheese: change `${pname}` to string literal

* cljfmt: change `${pname}` to string literal

* coppwr: change `${pname}` to string literal

* cosmic-edit: change `${pname}` to string literal

* cosmic-files: change `${pname}` to string literal

* cosmic-store: change `${pname}` to string literal

* cosmic-term: change `${pname}` to string literal

* crate2nix: change `${pname}` to string literal

* cups-kyocera-3500-4500: change `${pname}` to string literal

* dbqn: change `${pname}` to string literal

* dconf-editor: change `${pname}` to string literal

* devhelp: change `${pname}` to string literal

* dmarc-report-converter: change `${pname}` to string literal

* engage: change `${pname}` to string literal

* eog: change `${pname}` to string literal

* evolution-data-server-gtk4: change `${pname}` to string literal

* find-billy: change `${pname}` to string literal

* firefly-iii: change `${pname}` to string literal

* fuchsia-cursor: change `${pname}` to string literal

* geary: change `${pname}` to string literal

* ghex: change `${pname}` to string literal

* gitg: change `${pname}` to string literal

* glasskube: change `${pname}` to string literal

* gnome.gnome-autoar: change `${pname}` to string literal

* gnome.gnome-calculator: change `${pname}` to string literal

* gnome.gnome-calendar: change `${pname}` to string literal

* gnome.gnome-common: change `${pname}` to string literal

* gnome.gnome-dictionary: change `${pname}` to string literal

* gnome.gnome-disk-utility: change `${pname}` to string literal

* gnome.gnome-font-viewer: change `${pname}` to string literal

* gnome.gnome-keyring: change `${pname}` to string literal

* gnome.gnome-screenshot: change `${pname}` to string literal

* gnome.gnome-system-monitor: change `${pname}` to string literal

* gnome.seahorse: change `${pname}` to string literal

* gnome.simple-scan: change `${pname}` to string literal

* gnome.sushi: change `${pname}` to string literal

* gnome.totem: change `${pname}` to string literal

* gnome.yelp: change `${pname}` to string literal

* gnome.yelp-xsl: change `${pname}` to string literal

* gnucap-full: change `${pname}` to string literal

* goredo: change `${pname}` to string literal

* guile-semver: change `${pname}` to string literal

* halo: change `${pname}` to string literal

* intiface-central: change `${pname}` to string literal

* intune-portal: change `${pname}` to string literal

* iscc: change `${pname}` to string literal

* jetbrains-toolbox: change `${pname}` to string literal

* jnr-posix: change `${pname}` to string literal

* keymapp: change `${pname}` to string literal

* libation: change `${pname}` to string literal

* libeduvpn-common: change `${pname}` to string literal

* libmamba: change `${pname}` to string literal

* littlefs-fuse: change `${pname}` to string literal

* logseq: change `${pname}` to string literal

* lxgw-wenkai-tc: change `${pname}` to string literal

* microsoft-identity-broker: change `${pname}` to string literal

* minetest-mapserver: change `${pname}` to string literal

* msalsdk-dbusclient: change `${pname}` to string literal

* neverest: change `${pname}` to string literal

* nf-test: change `${pname}` to string literal

* numbat: change `${pname}` to string literal

* pdf2odt: change `${pname}` to string literal

* plemoljp: change `${pname}` to string literal

* plemoljp-hs: change `${pname}` to string literal

* plemoljp-nf: change `${pname}` to string literal

* pocket-updater-utility: change `${pname}` to string literal

* proto: change `${pname}` to string literal

* pw3270: change `${pname}` to string literal

* ratchet: change `${pname}` to string literal

* read-it-later: change `${pname}` to string literal

* redmine: change `${pname}` to string literal

* regina: change `${pname}` to string literal

* regripper: change `${pname}` to string literal

* revolt-desktop: change `${pname}` to string literal

* rs: change `${pname}` to string literal

* signaturepdf: change `${pname}` to string literal

* sonarlint-ls: change `${pname}` to string literal

* srgn: change `${pname}` to string literal

* stackit-cli: change `${pname}` to string literal

* substudy: change `${pname}` to string literal

* swayosd: change `${pname}` to string literal

* synthesia: change `${pname}` to string literal

* tarlz: change `${pname}` to string literal

* termcap: change `${pname}` to string literal

* tinycompress: change `${pname}` to string literal

* tracexec: change `${pname}` to string literal

* treefmt2: change `${pname}` to string literal

* udev-gothic: change `${pname}` to string literal

* udev-gothic-nf: change `${pname}` to string literal

* vvvvvv: change `${pname}` to string literal

* yggdrasil: change `${pname}` to string literal

* zsync: change `${pname}` to string literal
2024-08-20 15:56:55 -07:00
Gaetan Lepage
489a8c0244 dmd: mark as broken on x86_64-darwin 2024-07-31 21:27:10 +02:00
Jeremy Baxter
a5ec69691d dmd: expose dmdBootstrap in passthru 2024-07-05 10:09:31 +12:00
Jeremy Baxter
d5d42f0938 dmd: add meta.changelog 2024-07-05 10:08:43 +12:00
Jeremy Baxter
89e48b200a dmd: 2.108.0 -> 2.109.1 2024-07-05 09:19:14 +12:00
R. Ryantm
6c3770aeca dmarc-report-converter: 0.8.0 -> 0.8.1 2024-06-17 12:01:26 +00: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
R. Ryantm
cf3c73e777 dmarc-report-converter: 0.7.2 -> 0.8.0 2024-05-08 19:53:06 +00:00
R. Ryantm
eadb991a16 dmarc-report-converter: 0.7.1 -> 0.7.2 2024-05-01 06:14:05 +00:00
Weijia Wang
e3b3b675fe
Merge pull request #287854 from jtbx/dlang-2.107.0
dmd, dtools: 2.106.1 -> 2.108.0, refactor
2024-04-12 23:27:12 +02:00
Jeremy Baxter
9b3cf68ef2 dmd: 2.106.1 -> 2.108.0
Tests now use a D program called run.d, rather than the previous
Makefiles.

The compiler makefiles located in compiler/src/ have been
deprecated for a long time now and have finally been removed in favour
of build.d. There is also a top-level generic Makefile which also
works on Windows apparently. [1]

The Phobos makefiles (posix.mak and such) have also been removed and
replaced with a generic top-level Makefile. Same with druntime. [2]

[1]: <https://dlang.org/changelog/2.107.0.html#dmd.makefiles>
[2]: <https://dlang.org/changelog/2.107.0.html#druntime.makefiles>
     <https://dlang.org/changelog/2.107.0.html#makefiles>
2024-04-02 17:46:00 +13:00
Jeremy Baxter
ccf3cfcdf6 dmd: modernize 2024-04-02 17:20:38 +13:00
Azat Bahawi
75924f72d9
dmalloc: init at 5.6.5 2024-03-23 15:40:06 +03:00
Jeremy Baxter
b0a8cf5243 dmd: migrate to pkgs/by-name 2024-03-20 09:11:11 +13: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
R. Ryantm
f53e2ab393 dmarc-report-converter: 0.7.0 -> 0.7.1 2024-03-13 22:04:38 +00:00
R. Ryantm
5f6cea4c87 dmarc-report-converter: 0.6.5 -> 0.7.0 2024-03-09 12:30:12 +00:00
D3vil0p3r
2d20430493 dmitry: init at 1.3a-unstable-2020-06-22 2024-02-10 18:25:04 +01:00
Andreas Zweili
f01c62a920 dmarc-report-converter: init at 0.6.5 2024-01-02 10:46:31 +01:00
Ludovico Piero
59ce52e553
dmenu-bluetooth: init at unstable-2023-07-16 2023-09-21 18:05:46 +09:00