Commit Graph

30 Commits

Author SHA1 Message Date
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
Smaug123
53d993f547
joypixels: fix sourceProvenance 2024-06-01 10:25:49 +01:00
toonn
1c8fd6eb61
joypixels: Switch to general JoyPixels Free License
Our references to the Free License have never been updated. I've
received permission to link to the general license instead. This means
the license version is no longer pinned, though that does not seem worse
than being out of sync with the actual font and they don't seem to have
versioned references.

If the license is updated again before we receive new links for the font
files users will be prompted to agree to a newer version of the license
than the font. On the JoyPixels website if you navigate to older font
versions, which are still available for download, you're also pointed to
the newest version of the license. So we aren't doing worse.

Note, although it's the JoyPixels Free License, this is actually an
unfree license because it prohibits commercial use.
2024-04-30 17:20:23 +02:00
toonn
3317c406d4
joypixels: Add sourceProvenance and prevent building on Hydra 2024-04-30 17:20:22 +02:00
toonn
74e591dc46
joypixels: Narrow unfree recommendation
JoyPixels requires explicit consent to the license and since the license
is unfree NixPkgs has to be configured to allow the package. This
updates the recommendation from setting allowUnfreePackages to adding
just JoyPixels to the allowUnfreePredicate.
2024-04-30 17:20:22 +02:00
toonn
09426fe871
joypixels: 6.6.0 -> 8.0.0
Skipped version 7 because we were never provided with a URL for Darwin.

The license is still version 6.5 because we haven't been provided with
an updated reference.
2024-04-30 17:20:11 +02:00
toonn
de77ce3040
joypixels: 6.5.0 -> 6.6.0 2021-07-14 11:21:40 +02:00
toonn
4651637faf
joypixels: 6.0.0 -> 6.5.0
New emoji for Unicode 13.1 publish in 2021.
2021-03-02 00:58:49 +01: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
Jan Tojnar
5902a08028
joypixels: run install hooks
Also clean up formatting.
2020-10-22 03:32:45 +02:00
toonn
196c828153
joypixels: Use updated font for macOS
After some back and forth with JoyPixels they agreed to creating a
version of their font for macOS that does not use the exact same name as
the Apple Color Emoji default font.

This naming collision meant it was impossible to configure applications
to use the JoyPixels emoji font unless you disabled the Apple Color
Emoji font using Font Book. Which meant the JoyPixels font could either
replace the Apple Color Emoji font completely or only fill in the gaps
in that font (on my system "hot face" isn't in the system font) but not
be used entirely for specific apps or be used with the system font as a
back up.
2020-10-22 03:32:45 +02:00
toonn
fd653b992a
joypixels: Move assert to allow override
By moving the assert concerning license acceptance into the src
attribute license acceptance can be expressed with an override,
`joypixels.override { acceptLicense = true; }`.
2020-10-22 03:32:44 +02:00
toonn
ca61c67381
joypixels: Drop dash from nixos endpoint url
The url was changed on request.
2020-10-22 03:32:44 +02:00
toonn
0da946eac8
joypixels: Reword license acceptance warning 2020-10-22 03:32:44 +02:00
toonn
48128ba77f
joypixels: Mark license as unfree 2020-10-22 03:32:44 +02:00
toonn
f9f1cbbffa
joypixels: Switch on kernel.name rather than system
x86_64-darwin is too specific because macOS runs on multiple
architectures.
2020-10-22 03:32:43 +02:00
toonn
c5249d1e9d
joypixels: Refactor to special-case darwin
Specifying the system-specific variables for x86_64-darwin and
x86_64-linux is too restrictive, excluding for example i686-linux.
Since macOS seems to be the odd one out we can special-case only
x86_64-darwin.
2020-10-22 03:32:43 +02:00
toonn
25ca62c2a2
joypixels: Switch from override to config option
Switch from an overridden variable to an option specified in
configuration.nix or config.nix:
  ```
  joypixels.acceptLicense = true;
  ```
2020-10-22 03:32:43 +02:00
toonn
a880ab2e98
joypixels: Refactor to group system-specific variables 2020-10-22 03:32:42 +02:00
toonn
cd255a375e
joypixels: Add proper license
The JoyPixels font comes with a license which requires explicit
acceptance by the user.
2020-10-22 03:32:42 +02:00
toonn
d36a92fd2c
joypixels: Update metadata 2020-10-22 03:32:42 +02:00
toonn
568beeaa28
joypixels: Refactor src and installPhase for clarity 2020-10-22 03:32:41 +02:00
toonn
e0ad840a06
joypixels: Add support for darwin 2020-10-22 03:32:41 +02:00
toonn
da117df3f4
joypixels: Use dedicated NixOS cdn endpoint
The Arch Linux endpoint was not intended to be used as-is by other
distros. I have asked for and received a proper license with a dedicated
endpoint for NixOS.
2020-10-22 03:32:41 +02:00
Jan Tojnar
c673b8f0d1
joypixels: 5.5.0 → 6.0.0 2020-06-28 01:43:48 +02:00
Daiderd Jordan
7b3a2963d1
treewide: replace base64 encoded hashes 2020-06-03 18:35:19 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jan Tojnar
1c8118caac
joypixels: 5.0.2 → 5.5.0 2020-04-03 01:41:10 +02:00
Jan Tojnar
1a7b8f6817
joypixels: drop fontconfig file
It is now supportedby our fontconfig.
2019-08-29 02:17:49 +02:00
Jan Tojnar
50f2ecf823
joypixels: init at 5.0.2 2019-08-20 05:32:06 +02:00