Commit Graph

23 Commits

Author SHA1 Message Date
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