Merge master into haskell-updates
This commit is contained in:
@@ -744,17 +744,17 @@ work in any of the formats supported by `buildPythonPackage` currently,
|
||||
with the exception of `other` (see `format` in
|
||||
[`buildPythonPackage` parameters](#buildpythonpackage-parameters) for more details).
|
||||
|
||||
### Using unittestCheckHook {#using-unittestcheckhook}
|
||||
#### Using unittestCheckHook {#using-unittestcheckhook}
|
||||
|
||||
`unittestCheckHook` is a hook which will substitute the setuptools `test` command for a `checkPhase` which runs `python -m unittest discover`:
|
||||
|
||||
```
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
|
||||
unittestFlags = [ "-s" "tests" "-v" ];
|
||||
unittestFlagsArray = [ "-s" "tests" "-v" ];
|
||||
```
|
||||
|
||||
##### Using sphinxHook {#using-sphinxhook}
|
||||
#### Using sphinxHook {#using-sphinxhook}
|
||||
|
||||
The `sphinxHook` is a helpful tool to build documentation and manpages
|
||||
using the popular Sphinx documentation generator.
|
||||
|
||||
@@ -10079,6 +10079,12 @@
|
||||
githubId = 137805;
|
||||
name = "Alexander Tsvyashchenko";
|
||||
};
|
||||
nebulka = {
|
||||
email = "arapun@proton.me";
|
||||
github = "nebulka1";
|
||||
githubId = 121920704;
|
||||
name = "Nebulka";
|
||||
};
|
||||
Necior = {
|
||||
email = "adrian@sadlocha.eu";
|
||||
github = "Necior";
|
||||
@@ -14339,6 +14345,12 @@
|
||||
githubId = 1280118;
|
||||
name = "Tomislav Markovski";
|
||||
};
|
||||
tmarkus = {
|
||||
email = "tobias@markus-regensburg.de";
|
||||
github = "hesiod";
|
||||
githubId = 3159881;
|
||||
name = "Tobias Markus";
|
||||
};
|
||||
tmountain = {
|
||||
email = "tinymountain@gmail.com";
|
||||
github = "tmountain";
|
||||
|
||||
@@ -302,6 +302,14 @@
|
||||
<link xlink:href="https://github.com/RasmusLindroth/tut/releases/tag/2.0.0">here</link>.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
The <literal>wordpress</literal> derivation no longer contains
|
||||
any builtin plugins or themes. If you need them you have to
|
||||
add them back to prevent your site from breaking. You can find
|
||||
them in <literal>wordpressPackages.{plugins,themes}</literal>.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<literal>llvmPackages_rocm.llvm</literal> will not contain
|
||||
@@ -352,6 +360,17 @@
|
||||
updated manually.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
The
|
||||
<link linkend="opt-services.wordpress.sites._name_.plugins">services.wordpress.sites.<name>.plugins</link>
|
||||
and
|
||||
<link linkend="opt-services.wordpress.sites._name_.themes">services.wordpress.sites.<name>.themes</link>
|
||||
options have been converted from sets to attribute sets to
|
||||
allow for consumers to specify explicit install paths via
|
||||
attribute name.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
In <literal>mastodon</literal> it is now necessary to specify
|
||||
|
||||
@@ -77,6 +77,8 @@ In addition to numerous new and upgraded packages, this release has the followin
|
||||
|
||||
- `tut` has been updated from 1.0.34 to 2.0.0, and now uses the TOML format for the configuration file instead of INI. Additional information can be found [here](https://github.com/RasmusLindroth/tut/releases/tag/2.0.0).
|
||||
|
||||
- The `wordpress` derivation no longer contains any builtin plugins or themes. If you need them you have to add them back to prevent your site from breaking. You can find them in `wordpressPackages.{plugins,themes}`.
|
||||
|
||||
- `llvmPackages_rocm.llvm` will not contain `clang` or `compiler-rt`. `llvmPackages_rocm.clang` will not contain `llvm`. `llvmPackages_rocm.clangNoCompilerRt` has been removed in favor of using `llvmPackages_rocm.clang-unwrapped`.
|
||||
|
||||
- The EC2 image module previously detected and automatically mounted ext3-formatted instance store devices and partitions in stage-1 (initramfs), storing `/tmp` on the first discovered device. This behaviour, which only catered to very specific use cases and could not be disabled, has been removed. Users relying on this should provide their own implementation, and probably use ext4 and perform the mount in stage-2.
|
||||
@@ -87,6 +89,8 @@ In addition to numerous new and upgraded packages, this release has the followin
|
||||
|
||||
- Qt 5.12 and 5.14 have been removed, as the corresponding branches have been EOL upstream for a long time. This affected under 10 packages in nixpkgs, largely unmaintained upstream as well, however, out-of-tree package expressions may need to be updated manually.
|
||||
|
||||
- The [services.wordpress.sites.<name>.plugins](#opt-services.wordpress.sites._name_.plugins) and [services.wordpress.sites.<name>.themes](#opt-services.wordpress.sites._name_.themes) options have been converted from sets to attribute sets to allow for consumers to specify explicit install paths via attribute name.
|
||||
|
||||
- In `mastodon` it is now necessary to specify location of file with `PostgreSQL` database password. In `services.mastodon.database.passwordFile` parameter default value `/var/lib/mastodon/secrets/db-password` has been changed to `null`.
|
||||
|
||||
- The `--target-host` and `--build-host` options of `nixos-rebuild` no longer treat the `localhost` value specially – to build on/deploy to local machine, omit the relevant flag.
|
||||
|
||||
@@ -32,8 +32,8 @@ let
|
||||
# Since hard linking directories is not allowed, copying is the next best thing.
|
||||
|
||||
# copy additional plugin(s), theme(s) and language(s)
|
||||
${concatMapStringsSep "\n" (theme: "cp -r ${theme} $out/share/wordpress/wp-content/themes/${theme.name}") cfg.themes}
|
||||
${concatMapStringsSep "\n" (plugin: "cp -r ${plugin} $out/share/wordpress/wp-content/plugins/${plugin.name}") cfg.plugins}
|
||||
${concatStringsSep "\n" (mapAttrsToList (name: theme: "cp -r ${theme} $out/share/wordpress/wp-content/themes/${name}") cfg.themes)}
|
||||
${concatStringsSep "\n" (mapAttrsToList (name: plugin: "cp -r ${plugin} $out/share/wordpress/wp-content/plugins/${name}") cfg.plugins)}
|
||||
${concatMapStringsSep "\n" (language: "cp -r ${language} $out/share/wordpress/wp-content/languages/") cfg.languages}
|
||||
'';
|
||||
};
|
||||
@@ -130,62 +130,45 @@ let
|
||||
};
|
||||
|
||||
plugins = mkOption {
|
||||
type = types.listOf types.path;
|
||||
default = [];
|
||||
type = with types; coercedTo
|
||||
(listOf path)
|
||||
(l: warn "setting this option with a list is deprecated"
|
||||
listToAttrs (map (p: nameValuePair (p.name or (throw "${p} does not have a name")) p) l))
|
||||
(attrsOf path);
|
||||
default = {};
|
||||
description = lib.mdDoc ''
|
||||
List of path(s) to respective plugin(s) which are copied from the 'plugins' directory.
|
||||
Path(s) to respective plugin(s) which are copied from the 'plugins' directory.
|
||||
|
||||
::: {.note}
|
||||
These plugins need to be packaged before use, see example.
|
||||
:::
|
||||
'';
|
||||
example = literalExpression ''
|
||||
let
|
||||
# Wordpress plugin 'embed-pdf-viewer' installation example
|
||||
embedPdfViewerPlugin = pkgs.stdenv.mkDerivation {
|
||||
name = "embed-pdf-viewer-plugin";
|
||||
# Download the theme from the wordpress site
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://downloads.wordpress.org/plugin/embed-pdf-viewer.2.0.3.zip";
|
||||
sha256 = "1rhba5h5fjlhy8p05zf0p14c9iagfh96y91r36ni0rmk6y891lyd";
|
||||
};
|
||||
# We need unzip to build this package
|
||||
nativeBuildInputs = [ pkgs.unzip ];
|
||||
# Installing simply means copying all files to the output directory
|
||||
installPhase = "mkdir -p $out; cp -R * $out/";
|
||||
};
|
||||
# And then pass this theme to the themes list like this:
|
||||
in [ embedPdfViewerPlugin ]
|
||||
{
|
||||
inherit (pkgs.wordpressPackages.plugins) embed-pdf-viewer-plugin;
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
themes = mkOption {
|
||||
type = types.listOf types.path;
|
||||
default = [];
|
||||
type = with types; coercedTo
|
||||
(listOf path)
|
||||
(l: warn "setting this option with a list is deprecated"
|
||||
listToAttrs (map (p: nameValuePair (p.name or (throw "${p} does not have a name")) p) l))
|
||||
(attrsOf path);
|
||||
default = { inherit (pkgs.wordpressPackages.themes) twentytwentythree; };
|
||||
defaultText = literalExpression "{ inherit (pkgs.wordpressPackages.themes) twentytwentythree; }";
|
||||
description = lib.mdDoc ''
|
||||
List of path(s) to respective theme(s) which are copied from the 'theme' directory.
|
||||
Path(s) to respective theme(s) which are copied from the 'theme' directory.
|
||||
|
||||
::: {.note}
|
||||
These themes need to be packaged before use, see example.
|
||||
:::
|
||||
'';
|
||||
example = literalExpression ''
|
||||
let
|
||||
# Let's package the responsive theme
|
||||
responsiveTheme = pkgs.stdenv.mkDerivation {
|
||||
name = "responsive-theme";
|
||||
# Download the theme from the wordpress site
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://downloads.wordpress.org/theme/responsive.3.14.zip";
|
||||
sha256 = "0rjwm811f4aa4q43r77zxlpklyb85q08f9c8ns2akcarrvj5ydx3";
|
||||
};
|
||||
# We need unzip to build this package
|
||||
nativeBuildInputs = [ pkgs.unzip ];
|
||||
# Installing simply means copying all files to the output directory
|
||||
installPhase = "mkdir -p $out; cp -R * $out/";
|
||||
};
|
||||
# And then pass this theme to the themes list like this:
|
||||
in [ responsiveTheme ]
|
||||
{
|
||||
inherit (pkgs.wordpressPackages.themes) responsive-theme;
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
@@ -953,6 +953,7 @@ let
|
||||
} else {
|
||||
name = "RenameInterface";
|
||||
testScript = "";
|
||||
};
|
||||
# even with disabled networkd, systemd.network.links should work
|
||||
# (as it's handled by udev, not networkd)
|
||||
link = {
|
||||
|
||||
@@ -26,4 +26,4 @@ foldl
|
||||
};
|
||||
})
|
||||
{ }
|
||||
[ 24 25 ]
|
||||
[ 24 25 26 ]
|
||||
|
||||
@@ -12,14 +12,14 @@
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "bambootracker";
|
||||
version = "0.5.3";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BambooTracker";
|
||||
repo = "BambooTracker";
|
||||
rev = "v${version}";
|
||||
fetchSubmodules = true;
|
||||
sha256 = "sha256-OaktEUWWDEW+MYnQkaB8FvkuH29VDXFqBVSTEJ7Sz7A=";
|
||||
sha256 = "sha256-yubaKTc8NFLxMY0/5c2VubRHgAGOsRlitmXJ1UHzl60=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ qmake qttools pkg-config ];
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.4.1.1";
|
||||
version = "1.4.2.0";
|
||||
pname = "chuck";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://chuck.cs.princeton.edu/release/files/chuck-${version}.tgz";
|
||||
sha256 = "sha256-RFnubxUdpy3N4VJeCv4FMp1hCGNWsWjs/AvDpXApD2M=";
|
||||
sha256 = "sha256-hIwsC9rYgXWSTFqUufKGqoT0Gnsf4nR4KQ0iSVbj8xg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ flex bison which ]
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "torq";
|
||||
version = "0.16.15";
|
||||
version = "0.17.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lncapital";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ibrPq/EC61ssn4072gTNvJg9QO41+aTsU1Hhc6X6NPk=";
|
||||
hash = "sha256-fqHJZi1NQCrZqsa+N+FVYZ8s9o0D555Sqn5qNlJ1MmI=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-HETN2IMnpxnTyg6bQDpoD0saJu+gKocdEf0VzEi12Gs=";
|
||||
|
||||
@@ -21,12 +21,12 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "3.42.0";
|
||||
version = "3.44.0";
|
||||
pname = "gnome-latex";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "ASMecEE3WNGu1pYNqhoigfqRNaYFkQuodM7VMn3LhUM=";
|
||||
sha256 = "iL1TQL0ox+0Bx5ZqOgBzK72QJ3PfWsZZvmrRGAap50Q=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "4.3.3";
|
||||
version = "4.3.4";
|
||||
|
||||
libsecp256k1_name =
|
||||
if stdenv.isLinux then "libsecp256k1.so.0"
|
||||
@@ -37,7 +37,7 @@ let
|
||||
owner = "spesmilo";
|
||||
repo = "electrum";
|
||||
rev = version;
|
||||
sha256 = "sha256-40GfOKBTAi8RAsAVrG9rv1Jr5IqM+1yro6YYRsSULxw=";
|
||||
sha256 = "sha256-0xYGTCk+Sk7LP+E9r2Y7UJZsfbobLe6Yb+x5ZRCN40Y=";
|
||||
|
||||
postFetch = ''
|
||||
mv $out ./all
|
||||
@@ -53,7 +53,7 @@ python3.pkgs.buildPythonApplication {
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.electrum.org/${version}/Electrum-${version}.tar.gz";
|
||||
sha256 = "sha256-NPXGfbEjT9l88ZnGbDcE3+oGxThTzW7YfesBzssGsbc=";
|
||||
sha256 = "sha256-+Z4NZK/unFN6mxCuMleHBxAoD+U1PzVk3/ZnZRmOOxo=";
|
||||
};
|
||||
|
||||
postUnpack = ''
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "gallery-dl";
|
||||
version = "1.24.4";
|
||||
version = "1.24.5";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "gallery_dl";
|
||||
sha256 = "sha256-g+nbHpbo6O4zoDJm6MRwCXY9pM73NV7RKR59s+8LM10=";
|
||||
sha256 = "sha256-P71JiGI9PpWMAlgk5TwQa/h3AUEZSEZ6/MahY+IIy9M=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -20,14 +20,14 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-firmware";
|
||||
version = "42.2";
|
||||
version = "43.1";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.gnome.org";
|
||||
owner = "World";
|
||||
repo = "gnome-firmware";
|
||||
rev = version;
|
||||
sha256 = "L0R2lXU69I6NI7Srq5s+8N9261Ic8B7FVaaXNjz2Ll0=";
|
||||
sha256 = "9QS6X1Cm9/wToQ8hnGNn3VytSCpZI8StZ3+vf0/wbAw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
{ lib, buildPackages, buildGoModule, fetchFromGitHub, esbuild, buildNpmPackage, fetchFromGitea }:
|
||||
|
||||
let
|
||||
esbuild' = buildPackages.esbuild.override {
|
||||
buildGoModule = args: buildPackages.buildGoModule (args // rec {
|
||||
version = "0.16.15";
|
||||
src = fetchFromGitHub {
|
||||
owner = "evanw";
|
||||
repo = "esbuild";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-iTAtPHjrBvHweSIiAbkkbBLgjF3v68jipJEzc0I4G04=";
|
||||
};
|
||||
vendorHash = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ=";
|
||||
});
|
||||
};
|
||||
in buildNpmPackage rec {
|
||||
pname = "kaufkauflist";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "codeberg.org";
|
||||
owner = "annaaurora";
|
||||
repo = "kaufkauflist";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-feqk2FUs3lcnIgyPzhsow+xO9u7l9+9eZEk9jxRlpG4=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-lSnGLK7+ac/wEpAxlpkZS/kgr9F+8WK+nRjCzkrPJt0=";
|
||||
|
||||
ESBUILD_BINARY_PATH = "${lib.getExe esbuild'}";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/kaufkauflist $out/share/pocketbase
|
||||
cp -vr build/* $out/share/kaufkauflist/
|
||||
cp -v pb_schema.json $out/share/pocketbase/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
# Uncomment this when nix-update-script supports Gitea.
|
||||
#passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://codeberg.org/annaaurora/kaufkauflist";
|
||||
description = "A to-do list for shopping or other use cases";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ annaaurora ];
|
||||
};
|
||||
}
|
||||
@@ -34,13 +34,13 @@
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "orca";
|
||||
version = "43.0";
|
||||
version = "43.1";
|
||||
|
||||
format = "other";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "HKdaAMSoUSoJ5KJuszn615RNHtQayjL3D2lickQhglA=";
|
||||
sha256 = "9ljgSc4WknO4Q0aBBCTW9QkpHwXX7MOnegPZEqo+aEA=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -45,8 +45,8 @@
|
||||
}
|
||||
},
|
||||
"ungoogled-chromium": {
|
||||
"version": "109.0.5414.87",
|
||||
"sha256": "1nhqbl4070n3f3j9867j78k8vig69i8m0k0s17z5axqv2qkn76k8",
|
||||
"version": "109.0.5414.120",
|
||||
"sha256": "1yvfd0a7zfz4x00f83irrs6hy15wn85mrbbm7mk5wy4gjwg5zyrj",
|
||||
"sha256bin64": null,
|
||||
"deps": {
|
||||
"gn": {
|
||||
@@ -56,8 +56,8 @@
|
||||
"sha256": "02621c9nqpr4pwcapy31x36l5kbyd0vdgd0wdaxj5p8hrxk67d6b"
|
||||
},
|
||||
"ungoogled-patches": {
|
||||
"rev": "109.0.5414.87-1",
|
||||
"sha256": "0lq0zk21qfm8wvi0fl0gnjm0wnk29dsi8b9qphldwysgla8y8m3j"
|
||||
"rev": "109.0.5414.120-1",
|
||||
"sha256": "0hq48lsjl7da8rdq129mc7cd0z5ykqbaf1sbhhs1d10dzm5zs4p3"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,11 +21,11 @@ let
|
||||
vivaldiName = if isSnapshot then "vivaldi-snapshot" else "vivaldi";
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "vivaldi";
|
||||
version = "5.6.2867.58";
|
||||
version = "5.6.2867.62";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://downloads.vivaldi.com/${branch}/vivaldi-${branch}_${version}-1_amd64.deb";
|
||||
sha256 = "sha256-eRHQaKztf66o9FoCNSRyXS5Ht6d51GTilNO5DxItUCw=";
|
||||
sha256 = "sha256-p5okCdvEBurL1UgqLMBhCd4caPbiOA1WZrI9TC5j6og=";
|
||||
};
|
||||
|
||||
unpackPhase = ''
|
||||
|
||||
@@ -112,13 +112,13 @@
|
||||
"vendorHash": null
|
||||
},
|
||||
"aws": {
|
||||
"hash": "sha256-J+x3D7EpV/Kzp98AuhK8pqR26xhItG+JyfkHKc+2IA0=",
|
||||
"hash": "sha256-jZYeMQW2DTGE/KyUJYGFPHGjFUGgfl11kE1jucZ5sH4=",
|
||||
"homepage": "https://registry.terraform.io/providers/hashicorp/aws",
|
||||
"owner": "hashicorp",
|
||||
"repo": "terraform-provider-aws",
|
||||
"rev": "v4.51.0",
|
||||
"rev": "v4.52.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-iL03vDNHPQTAbTRoEutRtQllFgD1wn7qFleuZ4n99q8="
|
||||
"vendorHash": "sha256-/6RbqOh5/Fpn25woV/AzmkTs1qnIo+sl3fKQxCtVZHQ="
|
||||
},
|
||||
"azuread": {
|
||||
"hash": "sha256-Byr6AJ1kP6fBxBCD8vLxQD5tz8fI3Z1fcCa0rXS9rhs=",
|
||||
@@ -130,11 +130,11 @@
|
||||
"vendorHash": null
|
||||
},
|
||||
"azurerm": {
|
||||
"hash": "sha256-dD2o0b5JQ1bZIBFshe+JkfkO5C0a3OvUwfrO2dgIiO8=",
|
||||
"hash": "sha256-eDlRnJUo561edblydjBGePJzMFRqtEqKnS+8HOhKGdA=",
|
||||
"homepage": "https://registry.terraform.io/providers/hashicorp/azurerm",
|
||||
"owner": "hashicorp",
|
||||
"repo": "terraform-provider-azurerm",
|
||||
"rev": "v3.40.0",
|
||||
"rev": "v3.41.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": null
|
||||
},
|
||||
@@ -825,13 +825,13 @@
|
||||
"vendorHash": null
|
||||
},
|
||||
"okta": {
|
||||
"hash": "sha256-+aHlFu49BxdFqrVCEIEqpg+o2i4d5F1uZipc//Qipaw=",
|
||||
"hash": "sha256-wKs5XRyyCda6pljtuo8ukAQl5ZZxeDSyt0CQWe8eXqY=",
|
||||
"homepage": "https://registry.terraform.io/providers/okta/okta",
|
||||
"owner": "okta",
|
||||
"repo": "terraform-provider-okta",
|
||||
"rev": "v3.40.0",
|
||||
"rev": "v3.41.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-XwQTtOsg1rktv/Oc+eTJ+Jr+BJvLEQPCaRSeXdXxWB0="
|
||||
"vendorHash": "sha256-KWSHVI51YHHF3HXpyd1WB5Za721ak+cFhwDIfvC/ax4="
|
||||
},
|
||||
"oktaasa": {
|
||||
"hash": "sha256-2LhxgowqKvDDDOwdznusL52p2DKP+UiXALHcs9ZQd0U=",
|
||||
@@ -1014,13 +1014,13 @@
|
||||
"vendorHash": "sha256-MIO0VHofPtKPtynbvjvEukMNr5NXHgk7BqwIhbc9+u0="
|
||||
},
|
||||
"signalfx": {
|
||||
"hash": "sha256-qzLP+IGZU5bms8zjtcUg9rApZW2+TCF7KrtqSQvr3lw=",
|
||||
"hash": "sha256-UgZr2ZFN5RvB7BG+DIXK6eSvTyvaVUKoBTIQ6aAfCpY=",
|
||||
"homepage": "https://registry.terraform.io/providers/splunk-terraform/signalfx",
|
||||
"owner": "splunk-terraform",
|
||||
"repo": "terraform-provider-signalfx",
|
||||
"rev": "v6.20.0",
|
||||
"rev": "v6.21.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-zIF5NA5kHXEr3aUleWrCYg8PZTKnrFubaRlALnbTLHQ="
|
||||
"vendorHash": "sha256-Iue8P14x8P0lMa85goSF1D5mEeXw6dH1atJQhgbnZ6Y="
|
||||
},
|
||||
"skytap": {
|
||||
"hash": "sha256-JII4czazo6Di2sad1uFHMKDO2gWgZlQE8l/+IRYHQHU=",
|
||||
@@ -1032,11 +1032,11 @@
|
||||
"vendorHash": null
|
||||
},
|
||||
"snowflake": {
|
||||
"hash": "sha256-QikYp81omjlSckr/2oXCmAqiJlcMWuR120z86fP/zkE=",
|
||||
"hash": "sha256-0nofzwxzf19T9klfzp+h3icyN4S92nPfq/HN+qaHK/E=",
|
||||
"homepage": "https://registry.terraform.io/providers/Snowflake-Labs/snowflake",
|
||||
"owner": "Snowflake-Labs",
|
||||
"repo": "terraform-provider-snowflake",
|
||||
"rev": "v0.55.1",
|
||||
"rev": "v0.56.0",
|
||||
"spdx": "MIT",
|
||||
"vendorHash": "sha256-ulgTRY8qQ5oXONkwYtffRl1QMNnbvyn0zYiYqqvwrUU="
|
||||
},
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
|
||||
gcc12Stdenv.mkDerivation rec {
|
||||
pname = "freefilesync";
|
||||
version = "11.29";
|
||||
version = "12.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hkneptune";
|
||||
repo = "FreeFileSync";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-UQ+CWqtcTwMGUTn6t3N+BkXs4qxddZtxDjcq7nz5F6U=";
|
||||
hash = "sha256-7vdhSEh43mpVbrzJzt005EkwoXfknYnAC+FZIAZF020=";
|
||||
};
|
||||
|
||||
# Patches from ROSA Linux
|
||||
|
||||
@@ -2,15 +2,15 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "ipfs-cluster";
|
||||
version = "1.0.4";
|
||||
version = "1.0.5";
|
||||
|
||||
vendorSha256 = "sha256-krjTtH8C1SGhaKMCtsbA2S9ognImof6mwD+vJ/qbyrM=";
|
||||
vendorHash = "sha256-sLCgPXyOiGaigcVuwUU4+Lmb7SjopWKhCReBzrZyuRs=";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ipfs-cluster";
|
||||
repo = "ipfs-cluster";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-LdcCGUbrS6te03y8R7XJJOcG1j6uU0v8uEMeUHLeidg=";
|
||||
hash = "sha256-c0COSf4ktFxkPJwzq/0RyG1JvNUvhdWpeRlrbAirGec=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -2,11 +2,12 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jnetmap";
|
||||
version = "0.5.4";
|
||||
version = "0.5.5";
|
||||
versionSuffix = "-703";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/project/jnetmap/jNetMap%20${version}/jNetMap-${version}.jar";
|
||||
sha256 = "0nxsfa600jhazwbabxmr9j37mhwysp0fyrvczhv3f1smiy8rjanl";
|
||||
url = "mirror://sourceforge/project/jnetmap/jNetMap%20${version}/jNetMap-${version}${versionSuffix}.jar";
|
||||
sha256 = "sha256-e4Ssm2Sq/v1YZ7ZudAqgQ7Cz2ffwWbSmLFoKhaZvTPg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
@@ -15,12 +16,16 @@ stdenv.mkDerivation rec {
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p "$out/bin"
|
||||
mkdir -p "$out/lib"
|
||||
|
||||
cp "${src}" "$out/lib/jnetmap.jar"
|
||||
makeWrapper "${jre}/bin/java" "$out/bin/jnetmap" \
|
||||
--add-flags "-jar \"$out/lib/jnetmap.jar\""
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
+342
-175
File diff suppressed because it is too large
Load Diff
@@ -74,9 +74,11 @@ mkDerivation rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "An GUI frontend to v2ray";
|
||||
homepage = "https://qv2ray.net";
|
||||
license = licenses.gpl3;
|
||||
homepage = "https://github.com/Qv2ray/Qv2ray";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ poscat rewine ];
|
||||
platforms = platforms.all;
|
||||
# never built on aarch64-darwin, x86_64-darwin since update to unstable-2022-09-25
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
let
|
||||
pname = "qownnotes";
|
||||
appname = "QOwnNotes";
|
||||
version = "23.1.1";
|
||||
version = "23.1.2";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit pname appname version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz";
|
||||
sha256 = "sha256-BMisfFMy3kNoZHCYbGqzT9hxzVpKBUN6fSOilPw9O1w=";
|
||||
sha256 = "sha256-yfsptsatmi0A+qLKHxchaLuu0WkJnUk7sjs1Pb/D6NU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -49,12 +49,12 @@
|
||||
, versionAttr ? {
|
||||
major = "3.10";
|
||||
minor = "5";
|
||||
patch = "0";
|
||||
patch = "1";
|
||||
}
|
||||
}:
|
||||
|
||||
let
|
||||
sourceSha256 = "sha256-NP7OH4kRulWpWxyHudIzCJPfjiiilgnhBlixmwOj70I=";
|
||||
sourceSha256 = "sha256-D5Bsj70IHFOLPZQbaxkGdx7Lz94bXhCfnNfhZb3dDp4=";
|
||||
featuresInfo = {
|
||||
# Needed always
|
||||
basic = {
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, makeWrapper, itk, vtk_8, Cocoa }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, makeWrapper, itk, vtk, Cocoa }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ANTs";
|
||||
pname = "ANTs";
|
||||
version = "2.4.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ANTsX";
|
||||
repo = "ANTs";
|
||||
rev = "v${version}";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-S4HYhsqof27UXEYjKvbod8N7PkZDmwLdwcEAvJD0W5g=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake makeWrapper ];
|
||||
buildInputs = [ itk vtk_8 ] ++ lib.optionals stdenv.isDarwin [ Cocoa ];
|
||||
buildInputs = [ itk vtk ] ++ lib.optionals stdenv.isDarwin [ Cocoa ];
|
||||
|
||||
cmakeFlags = [ "-DANTS_SUPERBUILD=FALSE" "-DUSE_VTK=TRUE" ];
|
||||
|
||||
|
||||
@@ -2,19 +2,30 @@
|
||||
lib,
|
||||
python3,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
wrapQtAppsHook,
|
||||
}:
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "nanovna-saver";
|
||||
version = "0.5.3";
|
||||
version = "0.5.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "NanoVNA-Saver";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-wKKjMcOx7NS2VAIk3OTAj7KWE1+CeAzctdgdidT+HMA=";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-CLfgDQt2rOXtWwvEhlXEstPp28nFhuhiAPYL6EjZVu4=";
|
||||
};
|
||||
|
||||
# Fix for https://github.com/NanoVNA-Saver/nanovna-saver/issues/579
|
||||
# Try dropping the patch in the next release after v0.5.4
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "remote-changelog-from-setup-py.patch";
|
||||
url = "https://github.com/NanoVNA-Saver/${pname}/commit/d654ea0441939e4e1c599d1333b587a185394fbe.diff";
|
||||
sha256 = "sha256-ifOhiWD0EYyQZRKp2W3G6crmWslca+/21APmhpfP/xE=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ wrapQtAppsHook ];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
@@ -47,6 +58,6 @@ python3.pkgs.buildPythonApplication rec {
|
||||
generally display and analyze the resulting data.
|
||||
'';
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ zaninime ];
|
||||
maintainers = with maintainers; [ zaninime tmarkus ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,19 +1,23 @@
|
||||
{ lib, stdenv, fetchFromGitHub, pkg-config, zlib }:
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, pkg-config, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.0.0";
|
||||
version = "2.2.0";
|
||||
pname = "gpac";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gpac";
|
||||
repo = "gpac";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-MIX32lSqf/lrz9240h4wMIQp/heUmwvDJz8WN08yf6c=";
|
||||
sha256 = "sha256-m2qXTXLGgAyU9y6GEk4Hp/7Al57IPRSqImJatIcwswQ=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile --replace 'dh_link' 'ln -s'
|
||||
'';
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "CVE-2023-0358.patch";
|
||||
url = "https://github.com/gpac/gpac/commit/9971fb125cf91cefd081a080c417b90bbe4a467b.patch";
|
||||
sha256 = "sha256-0PDQXahbJCOo1JJAC0T0N1u2mqmwAkdm87wXMJnBicM=";
|
||||
})
|
||||
];
|
||||
|
||||
# this is the bare minimum configuration, as I'm only interested in MP4Box
|
||||
# For most other functionality, this should probably be extended
|
||||
@@ -41,14 +45,5 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.lgpl21;
|
||||
maintainers = with maintainers; [ bluescreen303 mgdelacroix ];
|
||||
platforms = platforms.linux;
|
||||
knownVulnerabilities = [
|
||||
"CVE-2022-1035"
|
||||
"CVE-2022-1172"
|
||||
"CVE-2022-1222"
|
||||
"CVE-2022-1795"
|
||||
"CVE-2022-2453"
|
||||
"CVE-2022-2454"
|
||||
"CVE-2022-2549"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -26,13 +26,13 @@
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "haruna";
|
||||
version = "0.10.0";
|
||||
version = "0.10.2";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "multimedia";
|
||||
repo = "haruna";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-UU8tbaZz7udDulh+PHPZDc3rm1MvK4dafPgXL50apMI=";
|
||||
hash = "sha256-hhHWxmr2EzW9QqfV1bpJCiWOWsmGJmvxvtQcuXlMTc4=";
|
||||
domain = "invent.kde.org";
|
||||
};
|
||||
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
{ lib , buildNpmPackage , fetchFromGitHub, nodejs }:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "webtorrent-mpv-hook";
|
||||
version = "1.3.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mrxdst";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-AFKX31kriacXygZy0Mw+QwO+SwFEu13687mJ/WeAoKY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/webtorrent.ts --replace "node_path: 'node'" "node_path: '${nodejs}/bin/node'"
|
||||
# This executable is just for telling non-Nix users how to install
|
||||
substituteInPlace package.json --replace '"bin": "build/bin.js",' ""
|
||||
rm -rf src/bin.ts
|
||||
'';
|
||||
|
||||
npmDepsHash = "sha256-GpNUJ5ZCgMjSYLqsIE/RwkTSFT3uAhxrHPe7XvGDRHE=";
|
||||
makeCacheWritable = true;
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/mpv/scripts/
|
||||
ln -s $out/lib/node_modules/webtorrent-mpv-hook/build/webtorrent.js $out/share/mpv/scripts/
|
||||
'';
|
||||
passthru.scriptName = "webtorrent.js";
|
||||
|
||||
meta = {
|
||||
description = "Adds a hook that allows mpv to stream torrents";
|
||||
homepage = "https://github.com/mrxdst/webtorrent-mpv-hook";
|
||||
maintainers = [ lib.maintainers.chuangzhu ];
|
||||
license = lib.licenses.isc;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{ lib, stdenv, fetchFromGitHub, SDL_compat }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rvvm";
|
||||
version = "unstable-2023-01-25";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LekKit";
|
||||
repo = "RVVM";
|
||||
rev = "4de27d7083db34bd074b4f056d6eb3871ccf5c10";
|
||||
sha256 = "sha256-FjEcXfweL6FzA6iLxl9XnKaD4Fh/wZuRTJzZzHkc/B4=";
|
||||
};
|
||||
|
||||
buildInputs = [ SDL_compat ];
|
||||
|
||||
makeFlags =
|
||||
[ "BUILDDIR=out" "BINARY=rvvm" "USE_SDL=1" "GIT_COMMIT=${src.rev}" "all" "lib" ]
|
||||
# work around https://github.com/NixOS/nixpkgs/issues/19098
|
||||
++ lib.optional (stdenv.cc.isClang && stdenv.isDarwin) "CFLAGS=-fno-lto";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -d $out/{bin,lib,include/devices}
|
||||
install -m755 out/rvvm -t $out/bin
|
||||
install -m755 out/librvvm.{a,so} -t $out/lib
|
||||
install -m644 src/rvvmlib.h -t $out/include
|
||||
install -m644 src/devices/*.h -t $out/include/devices
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/LekKit/RVVM";
|
||||
description = "The RISC-V Virtual Machine";
|
||||
license = with licenses; [ gpl3 /* or */ mpl20 ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
maintainers = with maintainers; [ nebulka ];
|
||||
};
|
||||
}
|
||||
@@ -5,16 +5,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "swayest-workstyle";
|
||||
version = "1.3.0";
|
||||
version = "1.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Lyr-7D1h";
|
||||
repo = "swayest_workstyle";
|
||||
rev = version;
|
||||
sha256 = "sha256-LciTrYbmJV0y0H6QH88vTBXbDdDSx6FQtO4J/CFLjtY=";
|
||||
sha256 = "sha256-C2Nz6fBwaj+cOxIfoBu+9T+CoJ5Spc1TAJcQWdIF/+I=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-34Ij3Hd1JI6d1vhv1XomFc9SFoB/6pbS39upLk+NeQM=";
|
||||
cargoHash = "sha256-6pAlJmpyv2a1XCZQLOYilxJAGPbPmkEz1ynTLa0RjE0=";
|
||||
|
||||
doCheck = false; # No tests
|
||||
|
||||
|
||||
@@ -1,14 +1,23 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "andagii";
|
||||
version = "1.0.2";
|
||||
in (fetchzip {
|
||||
name = "andagii-${version}";
|
||||
|
||||
url = "http://www.i18nguy.com/unicode/andagii.zip";
|
||||
curlOpts = "--user-agent 'Mozilla/5.0'";
|
||||
sha256 = "0j5kf2fmyqgnf5ji6h0h79lq9n9d85hkfrr4ya8hqj4gwvc0smb2";
|
||||
src = fetchzip {
|
||||
url = "http://www.i18nguy.com/unicode/andagii.zip";
|
||||
curlOpts = "--user-agent 'Mozilla/5.0'";
|
||||
hash = "sha256-U7wC55G8jIvMMyPcEiJQ700A7nkWdgWK1LM0F/wgDCg=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp -v ANDAGII_.TTF $out/share/fonts/truetype/andagii.ttf
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
# There are multiple claims that the font is GPL, so I include the
|
||||
# package; but I cannot find the original source, so use it on your
|
||||
@@ -20,10 +29,4 @@ in (fetchzip {
|
||||
license = "unknown";
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
unzip $downloadedFile
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp -v ANDAGII_.TTF $out/share/fonts/truetype/andagii.ttf
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,33 +1,33 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "andika";
|
||||
version = "6.101";
|
||||
name = "andika-${version}";
|
||||
in
|
||||
(fetchzip rec {
|
||||
inherit name;
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://software.sil.org/downloads/r/andika/Andika-${version}.zip";
|
||||
hash = "sha256-LghkGd/cjuXghzsU9X/YneNIdBeDEnu0ARszipANm8w=";
|
||||
};
|
||||
|
||||
sha256 = "sha256-J/Ad+fmCMOxLoo+691LE6Bgi/l3ovIfWScwwVWtqACI=";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://software.sil.org/andika";
|
||||
description = "A family designed especially for literacy use taking into account the needs of beginning readers";
|
||||
longDescription = ''
|
||||
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
||||
install -Dm644 OFL.txt OFL-FAQ.txt README.txt FONTLOG.txt -t $out/share/doc/${pname}-${version}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://software.sil.org/andika";
|
||||
description = "A family designed especially for literacy use taking into account the needs of beginning readers";
|
||||
longDescription = ''
|
||||
Andika is a sans serif, Unicode-compliant font designed especially for literacy use, taking into account the needs of beginning readers. The focus is on clear, easy-to-perceive letterforms that will not be readily confused with one another.
|
||||
|
||||
A sans serif font is preferred by some literacy personnel for teaching people to read. Its forms are simpler and less cluttered than those of most serif fonts. For years, literacy workers have had to make do with fonts that were not really suitable for beginning readers and writers. In some cases, literacy specialists have had to tediously assemble letters from a variety of fonts in order to get all of the characters they need for their particular language project, resulting in confusing and unattractive publications. Andika addresses those issues.
|
||||
'';
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.f--t ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/{doc,fonts}
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile \*OFL.txt \*OFL-FAQ.txt \*README.txt \*FONTLOG.txt -d "$out/share/doc/${name}"
|
||||
'';
|
||||
})
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.f--t ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,12 +1,23 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let version = "1.100"; in
|
||||
(fetchzip {
|
||||
name = "ankacoder-${version}";
|
||||
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/anka-coder-fonts/AnkaCoder.${version}.zip";
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "ankacoder";
|
||||
version = "1.100";
|
||||
|
||||
sha256 = "1jqx9micfmiarqh9xp330gl96v3vxbwzz9cmg2vi845n9md4im85";
|
||||
src = fetchzip {
|
||||
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/anka-coder-fonts/AnkaCoder.${version}.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-14ItaSQ/fO/WDq0O4SXGWnZgiM0kayJrWQgsKb7bsyY=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp *.ttf $out/share/fonts/truetype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Anka/Coder fonts";
|
||||
@@ -15,10 +26,4 @@ let version = "1.100"; in
|
||||
maintainers = with maintainers; [ dtzWill ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
unzip $downloadedFile
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp *.ttf $out/share/fonts/truetype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,31 +1,31 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "annapurna-sil";
|
||||
version = "1.204";
|
||||
name = "annapurna-sil-${version}";
|
||||
in
|
||||
(fetchzip rec {
|
||||
inherit name;
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://software.sil.org/downloads/r/annapurna/AnnapurnaSIL-${version}.zip";
|
||||
hash = "sha256-4ya3Iydrz5Pvol9sTDIe9ZW5k3+XQp8GB2LAnRpeiXs=";
|
||||
};
|
||||
|
||||
sha256 = "sha256-kVeP9ZX8H+Wn6jzmH1UQvUKY6vJjadMTdEusS7LodFM=";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://software.sil.org/annapurna";
|
||||
description = "Unicode-based font family with broad support for writing systems that use the Devanagari script";
|
||||
longDescription = ''
|
||||
Annapurna SIL is a Unicode-based font family with broad support for writing systems that use the Devanagari script. Inspired by traditional calligraphic forms, the design is intended to be highly readable, reasonably compact, and visually attractive.
|
||||
'';
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.kmein ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/{doc,fonts}
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile \*OFL.txt \*OFL-FAQ.txt \*README.txt \*FONTLOG.txt -d "$out/share/doc/${name}"
|
||||
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
||||
install -Dm644 OFL.txt OFL-FAQ.txt README.txt FONTLOG.txt -t $out/share/doc/${pname}-${version}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://software.sil.org/annapurna";
|
||||
description = "Unicode-based font family with broad support for writing systems that use the Devanagari script";
|
||||
longDescription = ''
|
||||
Annapurna SIL is a Unicode-based font family with broad support for writing systems that use the Devanagari script. Inspired by traditional calligraphic forms, the design is intended to be highly readable, reasonably compact, and visually attractive.
|
||||
'';
|
||||
})
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.kmein ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,14 +1,23 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "babelstone-han";
|
||||
version = "13.0.3";
|
||||
in (fetchzip {
|
||||
name = "babelstone-han-${version}";
|
||||
|
||||
# upstream download links are unversioned, so hash changes
|
||||
url = "https://web.archive.org/web/20200210125314/https://www.babelstone.co.uk/Fonts/Download/BabelStoneHan.zip";
|
||||
sha256 = "018isk3hbzsihzrxavgjbn485ngzvlm96npqx9y7zpkxsssslc4w";
|
||||
src = fetchzip {
|
||||
# upstream download links are unversioned, so hash changes
|
||||
url = "https://web.archive.org/web/20200210125314/https://www.babelstone.co.uk/Fonts/Download/BabelStoneHan.zip";
|
||||
hash = "sha256-LLhNtHu2hh5DY2XVSrLuVzzR6OtMdSSHetyA0k1IFs0=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp *.ttf $out/share/fonts/truetype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Unicode CJK font with over 36000 Han characters";
|
||||
@@ -18,9 +27,4 @@ in (fetchzip {
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ emily ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
unzip $downloadedFile '*.ttf' -d $out/share/fonts/truetype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,14 +1,26 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
let
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "barlow";
|
||||
version = "1.422";
|
||||
in
|
||||
(fetchzip rec {
|
||||
name = "barlow-${version}";
|
||||
|
||||
url = "https://tribby.com/fonts/barlow/download/barlow-${version}.zip";
|
||||
src = fetchzip {
|
||||
url = "https://tribby.com/fonts/barlow/download/barlow-${version}.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-aHAGPEgBkH41r7HR0D74OGCa7ta7Uo8Mgq4YVtYOwU8=";
|
||||
};
|
||||
|
||||
sha256 = "08ld4c3zq4d1px07lc64i7l8848zsc61ddy3654w2sh0hx5sm5ld";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 fonts/otf/*.otf -t $out/share/fonts/opentype
|
||||
install -Dm644 fonts/ttf/*.ttf fonts/gx/*.ttf -t $out/share/fonts/truetype
|
||||
install -Dm644 fonts/eot/*.eot -t $out/share/fonts/eot
|
||||
install -Dm644 fonts/woff/*.woff -t $out/share/fonts/woff
|
||||
install -Dm644 fonts/woff2/*.woff2 -t $out/share/fonts/woff2
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A grotesk variable font superfamily";
|
||||
@@ -17,13 +29,4 @@ in
|
||||
maintainers = [ maintainers.marsam ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/
|
||||
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile \*.eot -d $out/share/fonts/eot
|
||||
unzip -j $downloadedFile \*.woff -d $out/share/fonts/woff
|
||||
unzip -j $downloadedFile \*.woff2 -d $out/share/fonts/woff2
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,16 +1,22 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "borg-sans-mono";
|
||||
version = "0.2.0";
|
||||
in
|
||||
(fetchzip {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
# https://github.com/marnen/borg-sans-mono/issues/19
|
||||
url = "https://github.com/marnen/borg-sans-mono/files/107663/BorgSansMono.ttf.zip";
|
||||
sha256 = "1gz4ab0smw76ih5cs2l3n92c77nv7ld5zghq42avjsfhxrc2n5ri";
|
||||
src = fetchzip {
|
||||
# https://github.com/marnen/borg-sans-mono/issues/19
|
||||
url = "https://github.com/marnen/borg-sans-mono/files/107663/BorgSansMono.ttf.zip";
|
||||
hash = "sha256-nn7TGeVm45t7QI8+eEREBTFg9aShYYKtdEYEwQwO2fQ=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Droid Sans Mono Slashed + Hasklig-style ligatures";
|
||||
@@ -19,9 +25,4 @@ in
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ atila ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,14 +1,23 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
let
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "cascadia-code";
|
||||
version = "2111.01";
|
||||
in
|
||||
(fetchzip {
|
||||
name = "cascadia-code-${version}";
|
||||
|
||||
url = "https://github.com/microsoft/cascadia-code/releases/download/v${version}/CascadiaCode-${version}.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/microsoft/cascadia-code/releases/download/v${version}/CascadiaCode-${version}.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-v9Vm5X80wEvorMhIlRw3MnyuSOdBpTl9ibBPpmm1vig=";
|
||||
};
|
||||
|
||||
sha256 = "sha256-kUVTQ/oMZztNf22sDbQBpQW0luSc5nr5sxWU5etLDec=";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 otf/static/*.otf -t $out/share/fonts/opentype
|
||||
install -Dm644 ttf/static/*.ttf -t $out/share/fonts/truetype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Monospaced font that includes programming ligatures and is designed to enhance the modern look and feel of the Windows Terminal";
|
||||
@@ -18,10 +27,4 @@ in
|
||||
maintainers = [ maintainers.marsam ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/
|
||||
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,33 +1,33 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "charis-sil";
|
||||
version = "6.101";
|
||||
name = "charis-sil-${version}";
|
||||
in
|
||||
(fetchzip rec {
|
||||
inherit name;
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://software.sil.org/downloads/r/charis/CharisSIL-${version}.zip";
|
||||
hash = "sha256-Rf5eKQVZw7zgTv6KkJUdNdd4sSJPdvjy/GDLusvlgzE=";
|
||||
};
|
||||
|
||||
sha256 = "sha256-b1ms9hJ6IPe7W6O9KgzHZvwT4/nAoLOhdydcUrwNfnU=";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://software.sil.org/charis";
|
||||
description = "A family of highly readable fonts for broad multilingual use";
|
||||
longDescription = ''
|
||||
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
||||
install -Dm644 OFL.txt OFL-FAQ.txt README.txt FONTLOG.txt -t $out/share/doc/${pname}-${version}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://software.sil.org/charis";
|
||||
description = "A family of highly readable fonts for broad multilingual use";
|
||||
longDescription = ''
|
||||
This Charis SIL font is essentially the same design as the SIL Charis font first released by SIL in 1997. Charis is similar to Bitstream Charter, one of the first fonts designed specifically for laser printers. It is highly readable and holds up well in less-than-ideal reproduction environments. It also has a full set of styles – regular, italic, bold, bold italic. Charis is a serif, proportionally-spaced font optimized for readability in long printed documents.
|
||||
|
||||
The goal for this product was to provide a single Unicode-based font family that would contain a comprehensive inventory of glyphs needed for almost any Roman- or Cyrillic-based writing system, whether used for phonetic or orthographic needs. In addition, there is provision for other characters and symbols useful to linguists. This font makes use of state-of-the-art font technologies to support complex typographic issues, such as the need to position arbitrary combinations of base glyphs and diacritics optimally.
|
||||
'';
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.f--t ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/{doc,fonts}
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile \*OFL.txt \*OFL-FAQ.txt \*README.txt \*FONTLOG.txt -d "$out/share/doc/${name}"
|
||||
'';
|
||||
})
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.f--t ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,15 +1,27 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "comic-relief";
|
||||
version = "1.1";
|
||||
name = "comic-relief-${version}";
|
||||
in (fetchzip rec {
|
||||
inherit name;
|
||||
|
||||
url = "https://fontlibrary.org/assets/downloads/comic-relief/45c456b6db2aaf2f7f69ac66b5ac7239/comic-relief.zip";
|
||||
src = fetchzip {
|
||||
url = "https://fontlibrary.org/assets/downloads/comic-relief/45c456b6db2aaf2f7f69ac66b5ac7239/comic-relief.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-lvkMfaQvLMZ8F0Q5JnpmMsIAkR+XfihoHIoS4z5QEvA=";
|
||||
};
|
||||
|
||||
sha256 = "0dz0y7w6mq4hcmmxv6fn4mp6jkln9mzr4s96vsg68wrl5b7k9yff";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/etc/fonts/conf.d
|
||||
mkdir -p $out/share/doc/${pname}-${version}
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp -v ${./comic-sans-ms-alias.conf} $out/etc/fonts/conf.d/30-comic-sans-ms.conf
|
||||
cp *.ttf -d $out/share/fonts/truetype
|
||||
cp FONTLOG.txt -d $out/share/doc/${pname}-${version}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://fontlibrary.org/en/font/comic-relief";
|
||||
@@ -23,20 +35,11 @@ in (fetchzip rec {
|
||||
'';
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = [maintainers.rycee];
|
||||
maintainers = [ maintainers.rycee ];
|
||||
|
||||
# Reduce the priority of this package. The intent is that if you
|
||||
# also install the `corefonts` package, then you probably will not
|
||||
# want to install the font alias of this package.
|
||||
priority = 10;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/etc/fonts/conf.d
|
||||
mkdir -p $out/share/doc/${name}
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp -v ${./comic-sans-ms-alias.conf} $out/etc/fonts/conf.d/30-comic-sans-ms.conf
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile FONTLOG.txt -d $out/share/doc/${name}
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,14 +1,21 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "courier-prime";
|
||||
version = "unstable-2019-12-05";
|
||||
repo = "CourierPrime";
|
||||
rev = "7f6d46a766acd9391d899090de467c53fd9c9cb0";
|
||||
in (fetchzip rec {
|
||||
name = "courier-prime-${version}";
|
||||
url = "https://github.com/quoteunquoteapps/${repo}/archive/${rev}/${name}.zip";
|
||||
sha256 = "1xh4pkksm6zrafhb69q4lq093q6pl245zi9qhqw3x6c1ab718704";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/quoteunquoteapps/CourierPrime/archive/7f6d46a766acd9391d899090de467c53fd9c9cb0/${pname}-${version}.zip";
|
||||
hash = "sha256-pMFZpytNtgoZrBj2Gj8SgJ0Lab8uVY5aQtcO2lFbHj4=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -m444 -Dt $out/share/fonts/truetype fonts/ttf/*.ttf
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Monospaced font designed specifically for screenplays";
|
||||
@@ -17,9 +24,4 @@ in (fetchzip rec {
|
||||
maintainers = [ maintainers.austinbutler ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
unzip $downloadedFile
|
||||
install -m444 -Dt $out/share/fonts/truetype ${repo}-${rev}/fonts/ttf/*.ttf
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,15 +1,25 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "cozette";
|
||||
version = "1.13.0";
|
||||
in
|
||||
(fetchzip rec {
|
||||
name = "Cozette-${version}";
|
||||
|
||||
url = "https://github.com/slavfox/Cozette/releases/download/v.${version}/CozetteFonts.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/slavfox/Cozette/releases/download/v.${version}/CozetteFonts.zip";
|
||||
hash = "sha256-bMgjNnm84vk7jT2UvgCeQwmjZ+9X1GzGLXIEukhaWGw=";
|
||||
};
|
||||
|
||||
sha256 = "sha256-xp3BCYfNUxCNewg4FfzmJnKp0PARvvnViMVwT25nWdM=";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/fonts
|
||||
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
||||
install -Dm644 *.otf -t $out/share/fonts/opentype
|
||||
install -Dm644 *.bdf -t $out/share/fonts/misc
|
||||
install -Dm644 *.otb -t $out/share/fonts/misc
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A bitmap programming font optimized for coziness";
|
||||
@@ -18,12 +28,4 @@ in
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ brettlyons marsam ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile \*.bdf -d $out/share/fonts/misc
|
||||
unzip -j $downloadedFile \*.otb -d $out/share/fonts/misc
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,15 +1,23 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
version = "1.3.2";
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "d2codingfont";
|
||||
version = "1.3.2";
|
||||
|
||||
in (fetchzip {
|
||||
name = "${pname}-${version}";
|
||||
url = "https://github.com/naver/${pname}/releases/download/VER${version}/D2Coding-Ver${version}-20180524.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/naver/${pname}/releases/download/VER${version}/D2Coding-Ver${version}-20180524.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-iC6iaUSVg4zt3wVFJUU4HEeswuKDOTFsAxq/0gRiOCA=";
|
||||
};
|
||||
|
||||
sha256 = "1812r82530wzfki7k9cm35fy6k2lvis7j6w0w8svc784949m1wwj";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/fonts
|
||||
install -Dm644 */*-all.ttc -t $out/share/fonts/truetype/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Monospace font with support for Korean and latin characters";
|
||||
@@ -25,9 +33,4 @@ in (fetchzip {
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ dtzWill ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile \*-all.ttc -d $out/share/fonts/truetype/
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,33 +1,33 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "doulos-sil";
|
||||
version = "6.101";
|
||||
name = "doulos-sil-${version}";
|
||||
in
|
||||
(fetchzip rec {
|
||||
inherit name;
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://software.sil.org/downloads/r/doulos/DoulosSIL-${version}.zip";
|
||||
hash = "sha256-CPjk6SLgsDYjachZZ1hanp6Q+cxTxfHOkoeU59Om5b8=";
|
||||
};
|
||||
|
||||
sha256 = "sha256-vYdnudMkkWz6r8pwq98fyO0zcfFBRPmrqlmWxHCOIcc=";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://software.sil.org/doulos";
|
||||
description = "A font that provides complete support for the International Phonetic Alphabet";
|
||||
longDescription = ''
|
||||
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
||||
install -Dm644 OFL.txt OFL-FAQ.txt README.txt FONTLOG.txt -t $out/share/doc/${pname}-${version}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://software.sil.org/doulos";
|
||||
description = "A font that provides complete support for the International Phonetic Alphabet";
|
||||
longDescription = ''
|
||||
This Doulos SIL font is essentially the same design as the SIL Doulos font first released by SIL in 1992. The design has been changed from the original in that it has been scaled down to be a better match with contemporary digital fonts, such as Times New Roman®. This current release is a regular typeface, with no bold or italic version available or planned. It is intended for use alongside other Times-like fonts where a range of styles (italic, bold) are not needed. Therefore, just one font is included in the Doulos SIL release: Doulos SIL Regular.
|
||||
|
||||
The goal for this product was to provide a single Unicode-based font family that would contain a comprehensive inventory of glyphs needed for almost any Roman- or Cyrillic-based writing system, whether used for phonetic or orthographic needs. In addition, there is provision for other characters and symbols useful to linguists. This font makes use of state-of-the-art font technologies to support complex typographic issues, such as the need to position arbitrary combinations of base glyphs and diacritics optimally.
|
||||
'';
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.f--t ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/{doc,fonts}
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile \*OFL.txt \*OFL-FAQ.txt \*README.txt \*FONTLOG.txt -d "$out/share/doc/${name}"
|
||||
'';
|
||||
})
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.f--t ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,15 +1,23 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "eb-garamond";
|
||||
version = "0.016";
|
||||
name = "eb-garamond-${version}";
|
||||
in (fetchzip rec {
|
||||
inherit name;
|
||||
|
||||
url = "https://bitbucket.org/georgd/eb-garamond/downloads/EBGaramond-${version}.zip";
|
||||
src = fetchzip {
|
||||
url = "https://bitbucket.org/georgd/eb-garamond/downloads/EBGaramond-${version}.zip";
|
||||
hash = "sha256-P2VCLcqcMBBoTDJyRLP9vlHI+jE0EqPjPziN2MJbgEg=";
|
||||
};
|
||||
|
||||
sha256 = "04jq4mpln85zzbla8ybsjw7vn9qr3r0snmk5zykrm24imq7ripv3";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/{doc,fonts}
|
||||
install -Dm644 otf/*.otf -t $out/share/fonts/opentype
|
||||
install -Dm644 Changes README.markdown README.xelualatex -t $out/share/doc/${pname}-${version}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://www.georgduffner.at/ebgaramond/";
|
||||
@@ -18,10 +26,4 @@ in (fetchzip rec {
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/{doc,fonts}
|
||||
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile \*Changes \*README.markdown \*README.xelualatex -d "$out/share/doc/${name}"
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,14 +1,21 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "emacs-all-the-icons-fonts";
|
||||
version = "5.0.0";
|
||||
in (fetchzip {
|
||||
name = "emacs-all-the-icons-fonts-${version}";
|
||||
|
||||
url = "https://github.com/domtronn/all-the-icons.el/archive/${version}.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/domtronn/all-the-icons.el/archive/${version}.zip";
|
||||
hash = "sha256-70ysVxOey6NLlCwhEYhxpxO6uuarMFDpg3Efh+3bj1M=";
|
||||
};
|
||||
|
||||
sha256 = "0vc9bkm4pcc05llcd2c9zr3d88h3zmci0izla5wnw8hg1n0rsrii";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 fonts/*.ttf -t $out/share/fonts/all-the-icons
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Icon fonts for emacs all-the-icons";
|
||||
@@ -20,17 +27,12 @@ in (fetchzip {
|
||||
homepage = "https://github.com/domtronn/all-the-icons.el";
|
||||
|
||||
/*
|
||||
The fonts come under a mixture of licenses - the MIT license,
|
||||
SIL OFL license, and Apache license v2.0. See the GitHub page
|
||||
for further information.
|
||||
The fonts come under a mixture of licenses - the MIT license,
|
||||
SIL OFL license, and Apache license v2.0. See the GitHub page
|
||||
for further information.
|
||||
*/
|
||||
license = licenses.free;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ rlupton20 ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/all-the-icons
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,12 +1,22 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
let name = "encode-sans-1.002";
|
||||
in (fetchzip rec {
|
||||
inherit name;
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
url = "https://github.com/impallari/Encode-Sans/archive/11162b46892d20f55bd42a00b48cbf06b5871f75.zip";
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "encode-sans";
|
||||
version = "1.002";
|
||||
|
||||
sha256 = "16mx894zqlwrhnp4rflgayxhxppmsj6k7haxdngajhb30rlwf08p";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/impallari/Encode-Sans/archive/11162b46892d20f55bd42a00b48cbf06b5871f75.zip";
|
||||
hash = "sha256-TPAUc5msAUgJZHibjgYaS2TOuzKFy0rje9ZQTXE6s+w=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
||||
install -Dm644 README.md FONTLOG.txt -t $out/share/doc/${pname}-${version}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A versatile sans serif font family";
|
||||
@@ -23,10 +33,4 @@ in (fetchzip rec {
|
||||
maintainers = with maintainers; [ cmfwyp ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/{doc,fonts}
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile \*README.md \*FONTLOG.txt -d "$out/share/doc/${name}"
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,28 +1,28 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "ezra-sil";
|
||||
version = "2.51";
|
||||
name = "ezra-sil-${version}";
|
||||
in
|
||||
(fetchzip rec {
|
||||
inherit name;
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://software.sil.org/downloads/r/ezra/EzraSIL-${version}.zip";
|
||||
hash = "sha256-hGOHjvFVFLwyVkcoUz+7rQekCdn4oEOB+L16XRpthJM=";
|
||||
};
|
||||
|
||||
sha256 = "sha256-1LGw/RPFeNtEvcBWFWZf8+dABvWye2RfZ/jt8rwQewM=";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://software.sil.org/ezra";
|
||||
description = "Typeface fashioned after the square letter forms of the typography of the Biblia Hebraica Stuttgartensia (BHS)";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.kmein ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/{doc,fonts}
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile \*OFL-FAQ.txt \*README.txt \*FONTLOG.txt -d "$out/share/doc/${name}"
|
||||
'';
|
||||
})
|
||||
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
||||
install -Dm644 OFL-FAQ.txt README.txt FONTLOG.txt -t $out/share/doc/${pname}-${version}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://software.sil.org/ezra";
|
||||
description = "Typeface fashioned after the square letter forms of the typography of the Biblia Hebraica Stuttgartensia (BHS)";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.kmein ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,14 +1,24 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "fira-code";
|
||||
version = "6.2";
|
||||
in (fetchzip {
|
||||
name = "fira-code-${version}";
|
||||
|
||||
url = "https://github.com/tonsky/FiraCode/releases/download/${version}/Fira_Code_v${version}.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/tonsky/FiraCode/releases/download/${version}/Fira_Code_v${version}.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-UHOwZL9WpCHk6vZaqI/XfkZogKgycs5lWg1p0XdQt0A=";
|
||||
};
|
||||
|
||||
sha256 = "0l02ivxz3jbk0rhgaq83cqarqxr07xgp7n27l0fh8fbgxwi52djl";
|
||||
# only extract the variable font because everything else is a duplicate
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/fonts
|
||||
cp variable_ttf/*-VF.ttf $out/share/fonts/truetype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/tonsky/FiraCode";
|
||||
@@ -22,10 +32,4 @@ in (fetchzip {
|
||||
maintainers = [ maintainers.rycee ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
# only extract the variable font because everything else is a duplicate
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile '*-VF.ttf' -d $out/share/fonts/truetype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,12 +1,21 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
(fetchzip {
|
||||
name = "fira-code-symbols-20160811";
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "fira-code-symbols";
|
||||
version = "20160811";
|
||||
|
||||
url = "https://github.com/tonsky/FiraCode/files/412440/FiraCode-Regular-Symbol.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/tonsky/FiraCode/files/412440/FiraCode-Regular-Symbol.zip";
|
||||
hash = "sha256-7y51blEn0Osf8azytK08zJgtfVX/CIWQkiOoRzYKIa4=";
|
||||
};
|
||||
|
||||
sha256 = "19krsp22rin74ix0i19v4bh1c965g18xkmz1n55h6n6qimisnbkm";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 *.otf -t $out/share/fonts/opentype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "FiraCode unicode ligature glyphs in private use area";
|
||||
@@ -19,9 +28,4 @@
|
||||
maintainers = [ maintainers.Profpatsch ];
|
||||
homepage = "https://github.com/tonsky/FiraCode/issues/211#issuecomment-239058632";
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile -d $out/share/fonts/opentype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,13 +1,21 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let version = "4.202";
|
||||
in (fetchzip {
|
||||
name = "fira-mono-${version}";
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "fira-mono";
|
||||
version = "4.202";
|
||||
|
||||
url = "https://github.com/mozilla/Fira/archive/${version}.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/mozilla/Fira/archive/${version}.zip";
|
||||
hash = "sha256-HLReqgL0PXF5vOpwLN0GiRwnzkjGkEVEyOEV2Z4R0oQ=";
|
||||
};
|
||||
|
||||
sha256 = "1ci3fxhdwabvfj4nl16pwcgqnh7s2slp8vblribk8zkpx8cbp1dj";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 otf/FiraMono*.otf -t $out/share/fonts/opentype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://mozilla.github.io/Fira/";
|
||||
@@ -22,9 +30,4 @@ in (fetchzip {
|
||||
maintainers = [ maintainers.rycee ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile Fira-${version}/otf/FiraMono\*.otf -d $out/share/fonts/opentype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,14 +1,22 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
let
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "fraunces";
|
||||
version = "1.000";
|
||||
in
|
||||
(fetchzip {
|
||||
name = "fraunces-${version}";
|
||||
|
||||
url = "https://github.com/undercasetype/Fraunces/releases/download/${version}/UnderCaseType_Fraunces_${version}.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/undercasetype/Fraunces/releases/download/${version}/UnderCaseType_Fraunces_${version}.zip";
|
||||
hash = "sha256-hu2G4Fs2I3TMEy/EBFnc88Pv3c8Mpc5rm3OwVvol7gQ=";
|
||||
};
|
||||
|
||||
sha256 = "0qgl140qkn9p87x7pk60fd3lj206y5h0fq2xkcj2qiv3sxbqxwqb";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 */static/otf/*.otf -t $out/share/fonts/opentype
|
||||
install -Dm644 */static/ttf/*.ttf */*.ttf -t $out/share/fonts/truetype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A display, “Old Style” soft-serif typeface inspired by early 20th century typefaces";
|
||||
@@ -17,10 +25,4 @@ in
|
||||
maintainers = [ maintainers.marsam ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/
|
||||
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,31 +1,31 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "galatia-sil";
|
||||
version = "2.1";
|
||||
name = "galatia-sil-${version}";
|
||||
in
|
||||
(fetchzip rec {
|
||||
inherit name;
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://software.sil.org/downloads/r/galatia/GalatiaSIL-${version}.zip";
|
||||
hash = "sha256-7kXnTC5vpUOjcT40oNW6e32zFGejlWJq1J+p+5DiAos=";
|
||||
};
|
||||
|
||||
sha256 = "sha256-zLL/7LMcJul2LilhEafpvm+tiYlgv1y1jj85VvG+wiI=";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://software.sil.org/galatia";
|
||||
description = "Font designed to support Biblical Polytonic Greek";
|
||||
longDescription = ''
|
||||
Galatia SIL, designed to support Biblical Polytonic Greek, is a Unicode 3.1 font released under the SIL Open Font License. The font supports precomposed characters rather than decomposed characters. Thus, you must use a keyboard that outputs NFC encoding (precomposed).
|
||||
'';
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.kmein ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/{doc,fonts}
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile \*OFL.txt \*OFL-FAQ.txt \*FONTLOG.txt -d "$out/share/doc/${name}"
|
||||
install -Dm644 $downloadedFile *.ttf -t $out/share/fonts/truetype
|
||||
install -Dm644 $downloadedFile OFL.txt OFL-FAQ.txt FONTLOG.txt -t $out/share/doc/${pname}-${version}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://software.sil.org/galatia";
|
||||
description = "Font designed to support Biblical Polytonic Greek";
|
||||
longDescription = ''
|
||||
Galatia SIL, designed to support Biblical Polytonic Greek, is a Unicode 3.1 font released under the SIL Open Font License. The font supports precomposed characters rather than decomposed characters. Thus, you must use a keyboard that outputs NFC encoding (precomposed).
|
||||
'';
|
||||
})
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.kmein ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,17 +1,23 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
major = "1";
|
||||
minor = "102";
|
||||
version = "${major}.${minor}";
|
||||
name = "gentium-book-basic-${version}";
|
||||
in (fetchzip rec {
|
||||
inherit name;
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "gentium-book-basic";
|
||||
version = "1.102";
|
||||
|
||||
url = "http://software.sil.org/downloads/r/gentium/GentiumBasic_${major}${minor}.zip";
|
||||
src = fetchzip {
|
||||
url = "http://software.sil.org/downloads/r/gentium/GentiumBasic_${lib.versions.major version}${lib.versions.minor version}.zip";
|
||||
hash = "sha256-oCmpl95MJRfCV25cg/4cf8AwQWnoymXasSss1ziOPoE=";
|
||||
};
|
||||
|
||||
sha256 = "0598zr5f7d6ll48pbfbmmkrybhhdks9b2g3m2g67wm40070ffzmd";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/{doc,fonts}
|
||||
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
||||
install -Dm644 FONTLOG.txt GENTIUM-FAQ.txt -t $out/share/doc/${pname}-${version}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://software.sil.org/gentium/";
|
||||
@@ -20,10 +26,4 @@ in (fetchzip rec {
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/{doc,fonts}
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile \*/FONTLOG.txt \*/GENTIUM-FAQ.txt -d $out/share/doc/${name}
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,15 +1,23 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "gentium";
|
||||
version = "6.101";
|
||||
name = "gentium-${version}";
|
||||
in (fetchzip rec {
|
||||
inherit name;
|
||||
|
||||
url = "http://software.sil.org/downloads/r/gentium/GentiumPlus-${version}.zip";
|
||||
src = fetchzip {
|
||||
url = "http://software.sil.org/downloads/r/gentium/GentiumPlus-${version}.zip";
|
||||
hash = "sha256-iKD1Q7/lsbZCuJQoJqySQHwplrHv8yzmph+QwKpYgMU=";
|
||||
};
|
||||
|
||||
sha256 = "sha256-+T5aUlqQYDWRp4/4AZzsREHgjAnOeUB6qn1GAI0A5hE=";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
||||
install -Dm644 FONTLOG.txt README.txt -t $out/share/doc/${pname}-${version}
|
||||
cp -r documentation $out/share/doc/${pname}-${version}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://software.sil.org/gentium/";
|
||||
@@ -34,20 +42,4 @@ in (fetchzip rec {
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/{doc,fonts}
|
||||
unzip -l $downloadedFile
|
||||
unzip -j $downloadedFile \*.ttf \
|
||||
-d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile \
|
||||
\*/FONTLOG.txt \
|
||||
\*/README.txt \
|
||||
-d $out/share/doc/${name}
|
||||
unzip -j $downloadedFile \
|
||||
\*/documentation/\*.html \
|
||||
\*/documentation/\*.txt \
|
||||
-x \*/documentation/source/\* \
|
||||
-d $out/share/doc/${name}/documentation
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,14 +1,21 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "hack-font";
|
||||
version = "3.003";
|
||||
in (fetchzip {
|
||||
name = "hack-font-${version}";
|
||||
|
||||
url = "https://github.com/chrissimpkins/Hack/releases/download/v${version}/Hack-v${version}-ttf.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/chrissimpkins/Hack/releases/download/v${version}/Hack-v${version}-ttf.zip";
|
||||
hash = "sha256-SxF4kYp9aL/9L9EUniquFadzWt/+PcvhUQOIOvCrFRM=";
|
||||
};
|
||||
|
||||
sha256 = "1l6ih6v7dqali5c7zh6z2xnbf9h2wz0ag6fdgszmqd5lnhw39v6s";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 *.ttf -t $out/share/fonts/hack
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A typeface designed for source code";
|
||||
@@ -22,7 +29,7 @@ in (fetchzip {
|
||||
homepage = "https://sourcefoundry.org/hack/";
|
||||
|
||||
/*
|
||||
"The font binaries are released under a license that permits unlimited
|
||||
"The font binaries are released under a license that permits unlimited
|
||||
print, desktop, and web use for commercial and non-commercial
|
||||
applications. It may be embedded and distributed in documents and
|
||||
applications. The source is released in the widely supported UFO format
|
||||
@@ -33,9 +40,4 @@ in (fetchzip {
|
||||
maintainers = with maintainers; [ dywedir ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/hack
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,14 +1,22 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "hasklig";
|
||||
version = "1.1";
|
||||
in (fetchzip {
|
||||
name = "hasklig-${version}";
|
||||
|
||||
url = "https://github.com/i-tu/Hasklig/releases/download/${version}/Hasklig-${version}.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/i-tu/Hasklig/releases/download/${version}/Hasklig-${version}.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-jsPQtjuegMePt4tB1dZ9mq15LSxXBYwtakbq4od/sko=";
|
||||
};
|
||||
|
||||
sha256 = "0xxyx0nkapviqaqmf3b610nq17k20afirvc72l32pfspsbxz8ybq";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -m444 -Dt $out/share/fonts/opentype *.otf
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/i-tu/Hasklig";
|
||||
@@ -17,9 +25,4 @@ in (fetchzip {
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ davidrusu Profpatsch ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
unzip $downloadedFile
|
||||
install -m444 -Dt $out/share/fonts/opentype *.otf
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,15 +1,22 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ fetchzip, lib }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "hyperscrypt";
|
||||
version = "1.1";
|
||||
pname = "HyperScrypt";
|
||||
in
|
||||
|
||||
(fetchzip {
|
||||
name = "${lib.toLower pname}-font-${version}";
|
||||
url = "https://gitlab.com/StudioTriple/Hyper-Scrypt/-/archive/${version}/Hyper-Scrypt-${version}.zip";
|
||||
sha256 = "01pf5p2scmw02s0gxnibiwxbpzczphaaapv0v4s7svk9aw2gmc0m";
|
||||
src = fetchzip {
|
||||
url = "https://gitlab.com/StudioTriple/Hyper-Scrypt/-/archive/${version}/Hyper-Scrypt-${version}.zip";
|
||||
hash = "sha256-ONlAB9C/GYK6KmOaiHCYErkS6OlQ3TUnoumNDHGZnes=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 fonts/HyperScrypt_Web/*.ttf -t $out/share/fonts/truetype/
|
||||
install -Dm644 fonts/HyperScrypt_Web/*.otf fonts/*.otf -t $out/share/fonts/opentype/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://velvetyne.fr/fonts/hyper-scrypt/";
|
||||
@@ -28,15 +35,9 @@ in
|
||||
molted metal, Hyper Scrypt is based upon a rigorous grid,
|
||||
allowing some neat alignements between shapes in multi lines
|
||||
layouts.
|
||||
'';
|
||||
'';
|
||||
license = licenses.ofl;
|
||||
maintainers = with maintainers; [ leenaars ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/{truetype,opentype}
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype/${pname}.ttf
|
||||
unzip -j $downloadedFile \*${pname}.otf -d $out/share/fonts/opentype/${pname}.otf
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,15 +1,21 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "ibm-plex";
|
||||
version = "6.0.1";
|
||||
|
||||
in (fetchzip {
|
||||
name = "ibm-plex-${version}";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/IBM/plex/releases/download/v${version}/OpenType.zip";
|
||||
hash = "sha256-n13NuKrZUc0JGvDf2PLZkxogefDkEHaOZk4JN42/C74=";
|
||||
};
|
||||
|
||||
url = "https://github.com/IBM/plex/releases/download/v${version}/OpenType.zip";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
sha256 = "sha256-HxO0L5Q6WJQBqtg64cczzuRcSYi4jEqbOzEWxDmqFp8=";
|
||||
install -Dm644 */*.otf IBM-Plex-Sans-JP/unhinted/* -t $out/share/fonts/opentype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "IBM Plex Typeface";
|
||||
@@ -19,9 +25,4 @@ in (fetchzip {
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.romildo ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile "OpenType/*/*.otf" -x "OpenType/IBM-Plex-Sans-JP/unhinted/*" -d $out/share/fonts/opentype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,14 +1,23 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "inter";
|
||||
version = "3.19";
|
||||
in (fetchzip {
|
||||
name = "inter-${version}";
|
||||
|
||||
url = "https://github.com/rsms/inter/releases/download/v${version}/Inter-${version}.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/rsms/inter/releases/download/v${version}/Inter-${version}.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-6kUQUTFtxiJEU6sYC6HzMwm1H4wvaKIoxoY3F6GJJa8=";
|
||||
};
|
||||
|
||||
sha256 = "sha256-8p15thg3xyvCA/8dH2jGQoc54nzESFDyv5m47FgWrSI=";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
cp */*.otf $out/share/fonts/opentype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://rsms.me/inter/";
|
||||
@@ -17,10 +26,4 @@ in (fetchzip {
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ demize dtzWill ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||
'';
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
@@ -1,12 +1,21 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
(fetchzip {
|
||||
name = "ipaexfont-004.01";
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "ipaexfont";
|
||||
version = "004.01";
|
||||
|
||||
url = "https://moji.or.jp/wp-content/ipafont/IPAexfont/IPAexfont00401.zip";
|
||||
src = fetchzip {
|
||||
url = "https://moji.or.jp/wp-content/ipafont/IPAexfont/IPAexfont00401.zip";
|
||||
hash = "sha256-/87qJIb+v4qrtDy+ApfXxh59reOk+6RhGqFN98mc+8Q=";
|
||||
};
|
||||
|
||||
sha256 = "0wp369kri33kb1mmiq4lpl9i4xnacw9fj63ycmkmlkq64s8qnjnx";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 *.ttf -t $out/share/fonts/opentype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Japanese font package with Mincho and Gothic fonts";
|
||||
@@ -21,9 +30,4 @@
|
||||
license = licenses.ipa;
|
||||
maintainers = with maintainers; [ gebner ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/opentype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,12 +1,21 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
(fetchzip {
|
||||
name = "ipafont-003.03";
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "ipafont";
|
||||
version = "003.03";
|
||||
|
||||
url = "https://moji.or.jp/wp-content/ipafont/IPAfont/IPAfont00303.zip";
|
||||
src = fetchzip {
|
||||
url = "https://moji.or.jp/wp-content/ipafont/IPAfont/IPAfont00303.zip";
|
||||
hash = "sha256-EzUNKuDNHr0NIXiqX09w99wtz1r2pZurR/izdgzTcAs=";
|
||||
};
|
||||
|
||||
sha256 = "0lrjd0bfy36f9j85m12afg5nvr5id3sig2nmzs5qifskbd7mqv9h";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 *.ttf -t $out/share/fonts/opentype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Japanese font package with Mincho and Gothic fonts";
|
||||
@@ -19,9 +28,4 @@
|
||||
license = lib.licenses.ipa;
|
||||
maintainers = [ lib.maintainers.auntie ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/opentype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,13 +1,21 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{lib, fetchzip}:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "jost";
|
||||
version = "3.5";
|
||||
in (fetchzip {
|
||||
name = "jost-${version}";
|
||||
url = "https://github.com/indestructible-type/Jost/releases/download/${version}/Jost.zip";
|
||||
|
||||
sha256="0l78vhmbsyfmrva5wc76pskhxqryyg8q5xddpj9g5wqsddy525dq";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/indestructible-type/Jost/releases/download/${version}/Jost.zip";
|
||||
hash = "sha256-ne81bMhmTzNZ/GGIzb7nCYh19vNLK+hJ3cP/zDxtiGM=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 fonts/otf/*.otf -t $out/share/fonts/opentype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/indestructible-type/Jost";
|
||||
@@ -15,9 +23,4 @@ in (fetchzip {
|
||||
license = licenses.ofl;
|
||||
maintainers = [ maintainers.ar1a ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "JuliaMono-ttf";
|
||||
version = "0.046";
|
||||
version = "0.047";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/cormullion/juliamono/releases/download/v${version}/${pname}.tar.gz";
|
||||
stripRoot = false;
|
||||
hash = "sha256-mq37L3bhUhdjB8z3I9i8+wyLrMSsu/nZrZXOuqE3JlU=";
|
||||
hash = "sha256-tCZo48SBGdhcsP1wgaWkfWr3L3Yz+p/iqesLmarSWbk=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
||||
@@ -1,21 +1,26 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
(fetchzip {
|
||||
name = "kawkab-mono-20151015";
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "kawkab-mono";
|
||||
version = "20151015";
|
||||
|
||||
url = "http://makkuk.com/kawkab-mono/downloads/kawkab-mono-0.1.zip";
|
||||
src = fetchzip {
|
||||
url = "http://makkuk.com/kawkab-mono/downloads/kawkab-mono-0.1.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-arZTzXj7Ba5G4WF3eZVGNaONhOsYVPih9iBgsN/lg14=";
|
||||
};
|
||||
|
||||
sha256 = "1vfrb7xs817najplncg7zl9j5yxj8qnwb7aqm2v9p9xwafa4d2yd";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "An arab fixed-width font";
|
||||
homepage = "https://makkuk.com/kawkab-mono/";
|
||||
license = lib.licenses.ofl;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,12 +1,22 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
(fetchzip {
|
||||
name = "lato-2.0";
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "lato";
|
||||
version = "2.0";
|
||||
|
||||
url = "https://www.latofonts.com/download/Lato2OFL.zip";
|
||||
src = fetchzip {
|
||||
url = "https://www.latofonts.com/download/Lato2OFL.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-n1TsqigCQIGqyGLGTjLtjHuBf/iCwRlnqh21IHfAuXI=";
|
||||
};
|
||||
|
||||
sha256 = "1amwn6vcaggxrd2s4zw21s2pr47zmzdf2xfy4x9lxa2cd9bkhvg5";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 Lato2OFL/*.ttf -t $out/share/fonts/lato
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.latofonts.com/";
|
||||
@@ -32,9 +42,4 @@
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ chris-martin ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/lato
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,13 +1,24 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "lmmath";
|
||||
version = "1.959";
|
||||
in (fetchzip rec {
|
||||
name = "lmmath-${version}";
|
||||
|
||||
url = "http://www.gust.org.pl/projects/e-foundry/lm-math/download/latinmodern-math-1959.zip";
|
||||
sha256 = "05k145bxgxjh7i9gx1ahigxfpc2v2vwzsy2mc41jvvg51kjr8fnn";
|
||||
src = fetchzip {
|
||||
url = "http://www.gust.org.pl/projects/e-foundry/lm-math/download/latinmodern-math-1959.zip";
|
||||
hash = "sha256-et/WMhfZZYgP0S7ZmI6MZK5owv9bSoMBXFX6yGSng5Y=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/fonts/opentype/
|
||||
mkdir -p $out/share/doc/latinmodern-math-${version}/
|
||||
cp otf/*.otf $out/share/fonts/opentype/
|
||||
cp doc/*.txt $out/share/doc/latinmodern-math-${version}/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "The Latin Modern Math (LM Math) font completes the modernization of the Computer Modern family of typefaces designed and programmed by Donald E. Knuth";
|
||||
@@ -19,11 +30,4 @@ in (fetchzip rec {
|
||||
maintainers = with maintainers; [ siddharthist ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/opentype/
|
||||
mkdir -p $out/share/doc/latinmodern-math-${version}/
|
||||
unzip -j $downloadedFile "*/otf/*.otf" -d $out/share/fonts/opentype/
|
||||
unzip -j $downloadedFile "*/doc/*.txt" -d $out/share/doc/latinmodern-math-${version}/
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,22 +1,23 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "mno16";
|
||||
version = "1.0";
|
||||
in (fetchzip rec {
|
||||
name = "${pname}-${version}";
|
||||
url = "https://github.com/sevmeyer/${pname}/releases/download/${version}/${name}.zip";
|
||||
sha256 = "1x06nl281fcjk6g1p4cgrgxakmwcci6vvasskaygsqlzxd8ig87w";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/sevmeyer/${pname}/releases/download/${version}/${pname}-${version}.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-xJQ9V7GlGUTEeYhqYFl/SemS6iqV0eW85YOn/tLgA+M=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp fonts/*.ttf $out/share/fonts/truetype/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "minimalist monospaced font";
|
||||
homepage = "https://sev.dev/fonts/mno16";
|
||||
license = licenses.cc0;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype/
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,14 +1,23 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "mononoki";
|
||||
version = "1.3";
|
||||
in (fetchzip {
|
||||
name = "mononoki-${version}";
|
||||
|
||||
url = "https://github.com/madmalik/mononoki/releases/download/${version}/mononoki.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/madmalik/mononoki/releases/download/${version}/mononoki.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-bZYBRdmbQVs4i6UzMIHwJnoLWggX4CW8ZogNFYiX/9w=";
|
||||
};
|
||||
|
||||
sha256 = "sha256-K2uOpJRmQ1NcDZfh6rorCF0MvGHFCsSW8J7Ue9OC/OY=";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/fonts/mononoki
|
||||
cp webfont/* $out/share/fonts/mononoki
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/madmalik/mononoki";
|
||||
@@ -16,9 +25,4 @@ in (fetchzip {
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/mononoki
|
||||
unzip -j $downloadedFile -d $out/share/fonts/mononoki
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,15 +1,23 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
version = "VER2.5";
|
||||
fullName = "NanumGothicCoding-2.5";
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "nanum-gothic-coding";
|
||||
version = "2.5";
|
||||
|
||||
in (fetchzip {
|
||||
name = "nanum-gothic-coding";
|
||||
url = "https://github.com/naver/nanumfont/releases/download/${version}/${fullName}.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/naver/nanumfont/releases/download/VER${version}/NanumGothicCoding-${version}.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-jHbbCMUxn54iQMKdAWI3r8CDxi+5LLJh8ucQzq2Ukdc=";
|
||||
};
|
||||
|
||||
sha256 = "0b3pkhd6xn6393zi0dhj3ah08w1y1ji9fl6584bi0c8lanamf2pc";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/fonts/NanumGothicCoding
|
||||
cp *.ttf $out/share/fonts/NanumGothicCoding
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A contemporary monospaced sans-serif typeface with a warm touch";
|
||||
@@ -18,9 +26,4 @@ in (fetchzip {
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/NanumGothicCoding
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/NanumGothicCoding
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,14 +1,22 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "national-park-typeface";
|
||||
version = "206464";
|
||||
in (fetchzip {
|
||||
name = "${pname}-${version}";
|
||||
url = "https://files.cargocollective.com/c${version}/NationalPark.zip";
|
||||
|
||||
sha256 = "044gh4xcasp8i9ny6z4nmns1am2pk5krc4ann2afq35v9bnl2q5d";
|
||||
src = fetchzip {
|
||||
url = "https://files.cargocollective.com/c${version}/NationalPark.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-VUboZZVJfKupnoHXo3RxetEEYimrr1DxghVZaaWnnw4=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 *.otf -t $out/share/fonts/opentype/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = ''Typeface designed to mimic the national park service
|
||||
@@ -17,9 +25,4 @@ in (fetchzip {
|
||||
license = licenses.ofl;
|
||||
maintainers = with maintainers; [ dtzWill ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile National\*.otf -d $out/share/fonts/opentype/
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,15 +1,23 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
version = "1.2";
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "norwester";
|
||||
in (fetchzip {
|
||||
name = "${pname}-${version}";
|
||||
version = "1.2";
|
||||
|
||||
url = "http://jamiewilson.io/norwester/assets/norwester.zip";
|
||||
src = fetchzip {
|
||||
url = "http://jamiewilson.io/norwester/assets/norwester.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-Ak/nobrQE/XYGWs/IhlZlTp74ff+s4adUR6Sht5Yf8g=";
|
||||
};
|
||||
|
||||
sha256 = "1npsaiiz9g5z6315lnmynwcnrfl37fyxc7w1mhkw1xbzcnv74z4r";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
cp ${pname}-v${version}/${pname}.otf $out/share/fonts/opentype/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://jamiewilson.io/norwester";
|
||||
@@ -18,9 +26,4 @@ in (fetchzip {
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
unzip -D -j $downloadedFile ${pname}-v${version}/${pname}.otf -d $out/share/fonts/opentype/
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,15 +1,23 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "oldstandard";
|
||||
version = "2.2";
|
||||
name = "oldstandard-${version}";
|
||||
in (fetchzip rec {
|
||||
inherit name;
|
||||
|
||||
url = "https://github.com/akryukov/oldstand/releases/download/v${version}/${name}.otf.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/akryukov/oldstand/releases/download/v${version}/${pname}-${version}.otf.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-cDB5KJm87DK+GczZ3Nmn4l5ejqViswVbwrJ9XbhEh8I=";
|
||||
};
|
||||
|
||||
sha256 = "1qwfsyp51grr56jcnkkmnrnl3r20pmhp9zh9g88kp64m026cah6n";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -m444 -Dt $out/share/fonts/opentype *.otf
|
||||
install -m444 -Dt $out/share/doc/${pname}-${version} FONTLOG.txt
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/akryukov/oldstand";
|
||||
@@ -18,10 +26,4 @@ in (fetchzip rec {
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
unzip $downloadedFile
|
||||
install -m444 -Dt $out/share/fonts/opentype *.otf
|
||||
install -m444 -Dt $out/share/doc/${name} FONTLOG.txt
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,26 +1,28 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "open-dyslexic";
|
||||
version = "2016-06-23";
|
||||
in (fetchzip {
|
||||
name = "open-dyslexic-${version}";
|
||||
|
||||
url = "https://github.com/antijingoist/open-dyslexic/archive/20160623-Stable.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/antijingoist/open-dyslexic/archive/20160623-Stable.zip";
|
||||
hash = "sha256-f/uavR3n0qHyqumZDw7r8Zy0om2RlJAKyWuGaUXSJ1s=";
|
||||
};
|
||||
|
||||
sha256 = "1vl8z5rknh2hpr2f0v4b2qgs5kclx5pzyk8al7243k5db82a2cyi";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 otf/*.otf -t $out/share/fonts/opentype
|
||||
install -Dm644 README.md -t $out/share/doc/open-dyslexic
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://opendyslexic.org/";
|
||||
description = "Font created to increase readability for readers with dyslexia";
|
||||
license = "Bitstream Vera License (https://www.gnome.org/fonts/#Final_Bitstream_Vera_Fonts)";
|
||||
platforms = platforms.all;
|
||||
maintainers = [maintainers.rycee];
|
||||
maintainers = [ maintainers.rycee ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/{doc,fonts}
|
||||
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile \*/README.md -d $out/share/doc/open-dyslexic
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,15 +1,23 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "overpass";
|
||||
version = "3.0.5";
|
||||
name = "overpass-${version}";
|
||||
in (fetchzip rec {
|
||||
inherit name;
|
||||
|
||||
url = "https://github.com/RedHatOfficial/Overpass/releases/download/v${version}/overpass-${version}.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/RedHatOfficial/Overpass/releases/download/v${version}/overpass-${version}.zip";
|
||||
hash = "sha256-8AWT0/DELfNWXtZOejC90DbUSOtyGt9tSkcSuO7HP2o=";
|
||||
};
|
||||
|
||||
sha256 = "1fpyhd6x3i3g0xxjmyfnjsri1kkvci15fv7jp1bnza7k0hz0bnha";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 */*/*.otf -t $out/share/fonts/opentype
|
||||
install -Dm644 */*/*.ttf -t $out/share/fonts/truetype
|
||||
install -Dm644 *.md -t $out/share/doc/${pname}-${version}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://overpassfont.org/";
|
||||
@@ -18,11 +26,4 @@ in (fetchzip rec {
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.rycee ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts $out/share/doc
|
||||
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile \*.md -d $out/share/doc/${name}
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,15 +1,26 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
(fetchzip {
|
||||
name = "paratype-pt-mono";
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "paratype-pt-mono";
|
||||
version = "2.005";
|
||||
|
||||
urls = [
|
||||
"https://company.paratype.com/system/attachments/631/original/ptmono.zip"
|
||||
"http://rus.paratype.ru/system/attachments/631/original/ptmono.zip"
|
||||
];
|
||||
src = fetchzip {
|
||||
urls = [
|
||||
"https://company.paratype.com/system/attachments/631/original/ptmono.zip"
|
||||
"http://rus.paratype.ru/system/attachments/631/original/ptmono.zip"
|
||||
];
|
||||
stripRoot = false;
|
||||
hash = "sha256-mfDAu/KGelC6wZpUCrUrLVZKo+XiKNBqcpMI8tH2tMw=";
|
||||
};
|
||||
|
||||
sha256 = "07kl82ngby55khvzsvn831ddpc0q8djgz2y6gsjixkyjfdk2xjjm";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
||||
install -Dm644 *.txt -t $out/share/doc/paratype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://www.paratype.ru/public/";
|
||||
@@ -23,10 +34,4 @@
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ raskin ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/{doc,fonts}
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile \*.txt -d $out/share/doc/paratype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,15 +1,26 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
(fetchzip {
|
||||
name = "paratype-pt-sans";
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "paratype-pt-sans";
|
||||
version = "2.005";
|
||||
|
||||
urls = [
|
||||
"https://company.paratype.com/system/attachments/629/original/ptsans.zip"
|
||||
"http://rus.paratype.ru/system/attachments/629/original/ptsans.zip"
|
||||
];
|
||||
src = fetchzip {
|
||||
urls = [
|
||||
"https://company.paratype.com/system/attachments/629/original/ptsans.zip"
|
||||
"http://rus.paratype.ru/system/attachments/629/original/ptsans.zip"
|
||||
];
|
||||
stripRoot = false;
|
||||
hash = "sha256-34TqYXtWzkAstaGQBhJy+/hVk5tg6ZvHZ/kvUroWVLs=";
|
||||
};
|
||||
|
||||
sha256 = "01fkd417gv98jf3a6zyfi9w2dkqsbddy1vacga2672yf0kh1z1r0";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
||||
install -Dm644 *.txt -t $out/share/doc/paratype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://www.paratype.ru/public/";
|
||||
@@ -23,10 +34,4 @@
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ raskin ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/{doc,fonts}
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile \*.txt -d $out/share/doc/paratype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,15 +1,26 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
(fetchzip {
|
||||
name = "paratype-pt-serif";
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "paratype-pt-serif";
|
||||
version = "2.005";
|
||||
|
||||
urls = [
|
||||
"https://company.paratype.com/system/attachments/634/original/ptserif.zip"
|
||||
"http://rus.paratype.ru/system/attachments/634/original/ptserif.zip"
|
||||
];
|
||||
src = fetchzip {
|
||||
urls = [
|
||||
"https://company.paratype.com/system/attachments/634/original/ptserif.zip"
|
||||
"http://rus.paratype.ru/system/attachments/634/original/ptserif.zip"
|
||||
];
|
||||
stripRoot = false;
|
||||
hash = "sha256-4L3t5NEHmj975fn8eBAkRUO1OL0xseNp9g7k7tt/O2c=";
|
||||
};
|
||||
|
||||
sha256 = "1iw5qi4ag3yp1lwmi91lb18gr768bqwl46xskaqnkhr9i9qp0v6d";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
||||
install -Dm644 *.txt -t $out/share/doc/paratype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://www.paratype.ru/public/";
|
||||
@@ -23,10 +34,4 @@
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ raskin ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/{doc,fonts}
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile \*.txt -d $out/share/doc/paratype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,14 +1,23 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "public-sans";
|
||||
version = "2.001";
|
||||
in (fetchzip {
|
||||
name = "public-sans-${version}";
|
||||
|
||||
url = "https://github.com/uswds/public-sans/releases/download/v${version}/public-sans-v${version}.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/uswds/public-sans/releases/download/v${version}/public-sans-v${version}.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-XFs/UMXI/kdrW+53t8Mj26+Rn5p+LQ6KW2K2/ShoIag=";
|
||||
};
|
||||
|
||||
sha256 = "sha256-Ba7D4J72GZQsGn0KINRib9BmHsAnoEsAwAOC+M3CkMU=";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 */*/*.otf -t $out/share/fonts/opentype
|
||||
install -Dm644 */*/*.ttf -t $out/share/fonts/truetype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A strong, neutral, principles-driven, open source typeface for text or display";
|
||||
@@ -18,10 +27,4 @@ in (fetchzip {
|
||||
maintainers = with maintainers; [ dtzWill ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,27 +1,29 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "quattrocento-sans";
|
||||
version = "2.0";
|
||||
name = "quattrocento-sans-${version}";
|
||||
in (fetchzip rec {
|
||||
inherit name;
|
||||
|
||||
url = "https://web.archive.org/web/20170709124317/http://www.impallari.com/media/releases/quattrocento-sans-v${version}.zip";
|
||||
src = fetchzip {
|
||||
url = "https://web.archive.org/web/20170709124317/http://www.impallari.com/media/releases/quattrocento-sans-v${version}.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-L3aFZmaA94B9APxsp8bSBpocIlK3Ehvj/RFXVcW2nso=";
|
||||
};
|
||||
|
||||
sha256 = "0g8hnn92ks4y0jbizwj7yfa097lk887wqkqpqjdmc09sd2n44343";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 */*/QuattrocentoSans*.otf -t $out/share/fonts/opentype
|
||||
install -Dm644 */FONTLOG.txt -t $out/share/doc/${pname}-${version}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://www.impallari.com/quattrocentosans/";
|
||||
description = "A classic, elegant and sober sans-serif typeface";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = [maintainers.rycee];
|
||||
maintainers = [ maintainers.rycee ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/{fonts,doc}
|
||||
unzip -j $downloadedFile '*/QuattrocentoSans*.otf' -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile '*/FONTLOG.txt' -d $out/share/doc/${name}
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,27 +1,28 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "quattrocento";
|
||||
version = "1.1";
|
||||
name = "quattrocento-${version}";
|
||||
in (fetchzip rec {
|
||||
inherit name;
|
||||
|
||||
url = "https://web.archive.org/web/20170707001804/http://www.impallari.com/media/releases/quattrocento-v${version}.zip";
|
||||
src = fetchzip {
|
||||
url = "https://web.archive.org/web/20170707001804/http://www.impallari.com/media/releases/quattrocento-v${version}.zip";
|
||||
hash = "sha256-ntY6Wl6TI8F7SShMyD8mdOxVg4oz9kvJ7vKTyGdPLtE=";
|
||||
};
|
||||
|
||||
sha256 = "0f8l19y61y20sszn8ni8h9kgl0zy1gyzychg22z5k93ip4h7kfd0";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 */*.otf -t $out/share/fonts/opentype
|
||||
install -Dm644 FONTLOG.txt -t $out/share/doc/${pname}-${version}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://www.impallari.com/quattrocento/";
|
||||
description = "A classic, elegant, sober and strong serif typeface";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = [maintainers.rycee];
|
||||
maintainers = [ maintainers.rycee ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/{fonts,doc}
|
||||
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile \*FONTLOG.txt -d $out/share/doc/${name}
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,14 +1,22 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "roboto";
|
||||
version = "2.138";
|
||||
in (fetchzip {
|
||||
name = "roboto-${version}";
|
||||
|
||||
url = "https://github.com/google/roboto/releases/download/v${version}/roboto-unhinted.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/google/roboto/releases/download/v${version}/roboto-unhinted.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-ue3PUZinBpcYgSho1Zrw1KHl7gc/GlN1GhWFk6g5QXE=";
|
||||
};
|
||||
|
||||
sha256 = "1s3c48wwvvwd3p4w3hfkri5v2c54j2bdxmd3bjv54klc5mrlh6z3";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/google/roboto";
|
||||
@@ -22,9 +30,4 @@ in (fetchzip {
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = [ lib.maintainers.romildo ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile \*.ttf -x __MACOSX/\* -d $out/share/fonts/truetype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,20 +1,30 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip, version ? "3.300" }:
|
||||
{ lib, stdenvNoCC, fetchzip, version ? "3.300" }:
|
||||
|
||||
let
|
||||
new = lib.versionAtLeast version "3.000";
|
||||
sha256 = {
|
||||
"2.100" = "1g5f5f9gzamkq3kqyf7vbzvl4rdj3wmjf6chdrbxksrm3rnb926z";
|
||||
"3.300" = "1bja1ma1mnna0qlk3dis31cvq5z1kgcqj7wjp8ml03zc5mpa2wb2";
|
||||
hash = {
|
||||
"2.100" = "sha256-d2UyOOOnmE1afCwyIrM1bL3lQC7XRwh03hzetk/4V30=";
|
||||
"3.300" = "sha256-LaaA6DWAE2dcwVVX4go9cJaiuwI6efYbPk82ym3W3IY=";
|
||||
}."${version}";
|
||||
name = "scheherazade${lib.optionalString new "-new"}-${version}";
|
||||
pname = "scheherazade${lib.optionalString new "-new"}";
|
||||
in
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
inherit pname version;
|
||||
|
||||
in (fetchzip rec {
|
||||
inherit name;
|
||||
src = fetchzip {
|
||||
url = "http://software.sil.org/downloads/r/scheherazade/Scheherazade${lib.optionalString new "New"}-${version}.zip";
|
||||
inherit hash;
|
||||
};
|
||||
|
||||
url = "http://software.sil.org/downloads/r/scheherazade/Scheherazade${lib.optionalString new "New"}-${version}.zip";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
inherit sha256;
|
||||
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
||||
install -Dm644 FONTLOG.txt README.txt -t $out/share/doc
|
||||
cp -r documentation $out/share/doc/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://software.sil.org/scheherazade/";
|
||||
@@ -40,13 +50,4 @@ in (fetchzip rec {
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/{doc,fonts}
|
||||
unzip -l $downloadedFile
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
unzip $downloadedFile \*/documentation/\* -d $out/share/doc/
|
||||
mv $out/share/doc/* $out/share/doc/${name}
|
||||
unzip -j $downloadedFile \*/FONTLOG.txt \*/README.txt -d $out/share/doc/${name}
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,14 +1,22 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "source-code-pro";
|
||||
version = "2.038";
|
||||
in (fetchzip {
|
||||
name = "source-code-pro-${version}";
|
||||
|
||||
url = "https://github.com/adobe-fonts/source-code-pro/releases/download/${version}R-ro%2F1.058R-it%2F1.018R-VAR/OTF-source-code-pro-${version}R-ro-1.058R-it.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/adobe-fonts/source-code-pro/releases/download/${version}R-ro%2F1.058R-it%2F1.018R-VAR/OTF-source-code-pro-${version}R-ro-1.058R-it.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-ijeTLka131jf6B9xj/eNWK1T5r7r3aBXBgnVyRAxmuY=";
|
||||
};
|
||||
|
||||
sha256 = "027cf62zj27q7l3d4sqzdfgz423lzysihdg8cvmkk6z910a1v368";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 *.otf -t $out/share/fonts/opentype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Monospaced font family for user interface and coding environments";
|
||||
@@ -17,9 +25,4 @@ in (fetchzip {
|
||||
homepage = "https://adobe-fonts.github.io/source-code-pro/";
|
||||
license = lib.licenses.ofl;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,15 +1,21 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "source-han-code-jp";
|
||||
version = "2.012R";
|
||||
in (fetchzip {
|
||||
name = "${pname}-${version}";
|
||||
version = "2.012";
|
||||
|
||||
url = "https://github.com/adobe-fonts/${pname}/archive/${version}.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/adobe-fonts/${pname}/archive/${version}R.zip";
|
||||
hash = "sha256-ljO/1/CaE9Yj+AN5xxlIr30/nV/axGQPO0fGACAZGCQ=";
|
||||
};
|
||||
|
||||
sha256 = "16y5as1k864ghy3vzp8svr3q0sw57rv53za3f48700ksvxz5pwry";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm444 OTF/*.otf -t $out/share/fonts/opentype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A monospaced Latin font suitable for coding";
|
||||
@@ -18,9 +24,4 @@ in (fetchzip {
|
||||
homepage = "https://blogs.adobe.com/CCJKType/2015/06/source-han-code-jp.html";
|
||||
license = lib.licenses.ofl;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ stdenvNoCC
|
||||
, lib
|
||||
, fetchzip
|
||||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchurl
|
||||
, unzip
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -9,21 +9,37 @@ let
|
||||
{ family
|
||||
, description
|
||||
, rev
|
||||
, sha256
|
||||
, postFetch ? ''
|
||||
install -m444 -Dt $out/share/fonts/opentype/source-han-${family} $downloadedFile
|
||||
''
|
||||
, hash
|
||||
, zip ? ""
|
||||
}:
|
||||
let Family =
|
||||
lib.toUpper (lib.substring 0 1 family) +
|
||||
lib.substring 1 (lib.stringLength family) family;
|
||||
in
|
||||
(fetchzip {
|
||||
name = "source-han-${family}-${lib.removeSuffix "R" rev}";
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "source-han-${family}";
|
||||
version = lib.removeSuffix "R" rev;
|
||||
|
||||
url = "https://github.com/adobe-fonts/source-han-${family}/releases/download/${rev}/SourceHan${Family}.ttc${zip}";
|
||||
inherit sha256;
|
||||
src = fetchurl {
|
||||
url = "https://github.com/adobe-fonts/source-han-${family}/releases/download/${rev}/SourceHan${Family}.ttc${zip}";
|
||||
inherit hash;
|
||||
};
|
||||
|
||||
nativeBuildInputs = lib.optionals (zip == ".zip") [ unzip ];
|
||||
|
||||
unpackPhase = lib.optionalString (zip == "") ''
|
||||
cp $src SourceHan${Family}.ttc${zip}
|
||||
'' + lib.optionalString (zip == ".zip") ''
|
||||
unzip $src
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm444 *.ttc -t $out/share/fonts/opentype/${pname}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "An open source Pan-CJK ${description} typeface";
|
||||
@@ -31,18 +47,14 @@ let
|
||||
license = lib.licenses.ofl;
|
||||
maintainers = with lib.maintainers; [ taku0 emily ];
|
||||
};
|
||||
}).overrideAttrs (_: { inherit postFetch; });
|
||||
};
|
||||
in
|
||||
{
|
||||
sans = makePackage {
|
||||
family = "sans";
|
||||
description = "sans-serif";
|
||||
rev = "2.004R";
|
||||
sha256 = "052d17hvz435zc4r2y1p9cgkkgn0ps8g74mfbvnbm1pv8ykj40m9";
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/opentype/source-han-sans
|
||||
unzip $downloadedFile -d $out/share/fonts/opentype/source-han-sans
|
||||
'';
|
||||
hash = "sha256-b1kRiprdpaf+Tp5rtTgwn34dPFQR+anTKvMqeVAbfk8=";
|
||||
zip = ".zip";
|
||||
};
|
||||
|
||||
@@ -50,11 +62,7 @@ in
|
||||
family = "serif";
|
||||
description = "serif";
|
||||
rev = "2.000R";
|
||||
sha256 = "0x3n6s4khdd6l0crwd7g9sjaqp8lkvksglhc7kj3cv80hldab9wp";
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/opentype/source-han-serif
|
||||
unzip $downloadedFile -d $out/share/fonts/opentype/source-han-serif
|
||||
'';
|
||||
hash = "sha256-RDgywab7gwT+YBO7F1KJvKOv0E/3+7Zi/pQl+UDsGcM=";
|
||||
zip = ".zip";
|
||||
};
|
||||
|
||||
@@ -62,6 +70,6 @@ in
|
||||
family = "mono";
|
||||
description = "monospaced";
|
||||
rev = "1.002";
|
||||
sha256 = "010h1y469c21bjavwdmkpbwk3ny686inz8i062wh1dhcv8cnqk3c";
|
||||
hash = "sha256-DBkkSN6QhI8R64M2h2iDqaNtxluJZeSJYAz8x6ZzWME=";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,18 +1,28 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
# Source Sans Pro got renamed to Source Sans 3 (see
|
||||
# https://github.com/adobe-fonts/source-sans/issues/192). This is the
|
||||
# last version named "Pro". It is useful for backward compatibility
|
||||
# with older documents/templates/etc.
|
||||
let
|
||||
version = "3.006";
|
||||
in (fetchzip {
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
name = "source-sans-pro-${version}";
|
||||
version = "3.006";
|
||||
|
||||
url = "https://github.com/adobe-fonts/source-sans/archive/${version}R.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/adobe-fonts/source-sans/archive/${version}R.zip";
|
||||
hash = "sha256-1Savijgq3INuUN89MR0t748HOuGseXVw5Kd4hYwuVas=";
|
||||
};
|
||||
|
||||
sha256 = "sha256-uWr/dFyLF65v0o6+oN/3RQoe4ziPspzGB1rgiBkoTYY=";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm444 OTF/*.otf -t $out/share/fonts/opentype
|
||||
install -Dm444 TTF/*.ttf -t $out/share/fonts/truetype
|
||||
install -Dm444 VAR/*.otf -t $out/share/fonts/variable
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://adobe-fonts.github.io/source-sans/";
|
||||
@@ -21,11 +31,4 @@ in (fetchzip {
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ ttuegel ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/{opentype,truetype,variable}
|
||||
unzip -j $downloadedFile "*/OTF/*.otf" -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile "*/TTF/*.ttf" -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile "*/VAR/*.otf" -d $out/share/fonts/variable
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,14 +1,23 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "source-sans";
|
||||
version = "3.046";
|
||||
in (fetchzip {
|
||||
name = "source-sans-${version}";
|
||||
|
||||
url = "https://github.com/adobe-fonts/source-sans/archive/${version}R.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/adobe-fonts/source-sans/archive/${version}R.zip";
|
||||
hash = "sha256-nBLEK+T5n1CdZK2zvCWIhF2MxPmiAwL9l55a55yHtgU=";
|
||||
};
|
||||
|
||||
sha256 = "1wxdinnliq0xqbjrs0sqykwaggkmyqawfq862d9xn05g1pnxda94";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm444 OTF/*.otf -t $out/share/fonts/opentype
|
||||
install -Dm444 TTF/*.ttf -t $out/share/fonts/truetype
|
||||
install -Dm444 VAR/*.otf -t $out/share/fonts/variable
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://adobe-fonts.github.io/source-sans/";
|
||||
@@ -17,11 +26,4 @@ in (fetchzip {
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ ttuegel ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/{opentype,truetype,variable}
|
||||
unzip -j $downloadedFile "*/OTF/*.otf" -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile "*/TTF/*.ttf" -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile "*/VAR/*.otf" -d $out/share/fonts/variable
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,18 +1,28 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
# Source Serif Pro got renamed to Source Serif 4 (see
|
||||
# https://github.com/adobe-fonts/source-serif/issues/77). This is the
|
||||
# last version named "Pro". It is useful for backward compatibility
|
||||
# with older documents/templates/etc.
|
||||
let
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "source-serif-pro";
|
||||
version = "3.001";
|
||||
in (fetchzip {
|
||||
name = "source-serif-pro-${version}";
|
||||
|
||||
url = "https://github.com/adobe-fonts/source-serif/releases/download/${version}R/source-serif-pro-${version}R.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/adobe-fonts/source-serif/releases/download/${version}R/source-serif-pro-${version}R.zip";
|
||||
hash = "sha256-chXoaPOACtQ7wz/etElXuIJH/yvUsP03WlxeCfqWF/w=";
|
||||
};
|
||||
|
||||
sha256 = "sha256-rYWk8D41QMuuSP+cQMk8ttT7uX3a7gBk4OqjA7K9udk=";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm444 OTF/*.otf -t $out/share/fonts/opentype
|
||||
install -Dm444 TTF/*.ttf -t $out/share/fonts/truetype
|
||||
install -Dm444 VAR/*.otf -t $out/share/fonts/variable
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://adobe-fonts.github.io/source-serif/";
|
||||
@@ -21,11 +31,4 @@ in (fetchzip {
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ ttuegel ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/{opentype,truetype,variable}
|
||||
unzip -j $downloadedFile "*/OTF/*.otf" -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile "*/TTF/*.ttf" -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile "*/VAR/*.otf" -d $out/share/fonts/variable
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,14 +1,23 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "source-serif";
|
||||
version = "4.004";
|
||||
in (fetchzip {
|
||||
name = "source-serif-${version}";
|
||||
|
||||
url = "https://github.com/adobe-fonts/source-serif/releases/download/${version}R/source-serif-${version}.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/adobe-fonts/source-serif/releases/download/${version}R/source-serif-${version}.zip";
|
||||
hash = "sha256-tGSMOwYBEZat7MI78wkPr6lgJdsOdOaIZb+IAOoOlq4=";
|
||||
};
|
||||
|
||||
sha256 = "06814hcp20abca6p0ii61f23g6h1ibqyhq30lsva59wbwx5iha0h";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm444 OTF/*.otf -t $out/share/fonts/opentype
|
||||
install -Dm444 TTF/*.ttf -t $out/share/fonts/truetype
|
||||
install -Dm444 VAR/*.otf -t $out/share/fonts/variable
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://adobe-fonts.github.io/source-serif/";
|
||||
@@ -17,11 +26,4 @@ in (fetchzip {
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ ttuegel ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/{opentype,truetype,variable}
|
||||
unzip -j $downloadedFile "*/OTF/*.otf" -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile "*/TTF/*.ttf" -d $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile "*/VAR/*.otf" -d $out/share/fonts/variable
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,14 +1,23 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
let
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "stix-two";
|
||||
version = "2.13";
|
||||
in
|
||||
(fetchzip {
|
||||
name = "stix-two-${version}";
|
||||
|
||||
url = "https://github.com/stipub/stixfonts/raw/v${version}/zipfiles/STIX${builtins.replaceStrings [ "." ] [ "_" ] version}-all.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/stipub/stixfonts/raw/v${version}/zipfiles/STIX${builtins.replaceStrings [ "." ] [ "_" ] version}-all.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-hfQmrw7HjlhQSA0rVTs84i3j3iMVR0k7tCRBcB6hEpU=";
|
||||
};
|
||||
|
||||
sha256 = "sha256-cBtZe/oq4bQCscSAhJ4YuTSghDleD9O/+3MHOJyI50o=";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 */*.otf -t $out/share/fonts/opentype
|
||||
install -Dm644 */*.ttf -t $out/share/fonts/truetype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.stixfonts.org/";
|
||||
@@ -17,10 +26,4 @@ in
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.rycee ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/
|
||||
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,12 +1,21 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "sudo-font";
|
||||
version = "0.64";
|
||||
in (fetchzip {
|
||||
name = "sudo-font-${version}";
|
||||
url = "https://github.com/jenskutilek/sudo-font/releases/download/v${version}/sudo.zip";
|
||||
sha256 = "sha256-ewLTeIVY76eq5mHTnjIsJ5Q2CMuBqXJzxvjZTONPsr8=";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/jenskutilek/sudo-font/releases/download/v${version}/sudo.zip";
|
||||
hash = "sha256-Y99YPoNpe55Wrj5epiqqQ6ddUBTj9uI4oj4M5ARTzJo=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 *.ttf -t $out/share/fonts/truetype/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Font for programmers and command line users";
|
||||
@@ -16,9 +25,4 @@ in (fetchzip {
|
||||
maintainers = with maintainers; [ dtzWill ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype/
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,14 +1,26 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "terminus-font-ttf";
|
||||
version = "4.49.1";
|
||||
in (fetchzip {
|
||||
name = "terminus-font-ttf-${version}";
|
||||
|
||||
url = "https://files.ax86.net/terminus-ttf/files/${version}/terminus-ttf-${version}.zip";
|
||||
src = fetchzip {
|
||||
url = "https://files.ax86.net/terminus-ttf/files/${version}/terminus-ttf-${version}.zip";
|
||||
hash = "sha256-NKswkZR05V21mszT56S2x85k//qhfzRShhepYaAybDc=";
|
||||
};
|
||||
|
||||
sha256 = "sha256-UaTnCamIRN/3xZsYt5nYzvykXQ3ri94a047sWOJ2RfU=";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
for i in *.ttf; do
|
||||
local destname="$(echo "$i" | sed -E 's|-[[:digit:].]+\.ttf$|.ttf|')"
|
||||
install -Dm 644 "$i" "$out/share/fonts/truetype/$destname"
|
||||
done
|
||||
|
||||
install -Dm 644 COPYING "$out/share/doc/terminus-font-ttf/COPYING"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A clean fixed width TTF font";
|
||||
@@ -20,15 +32,4 @@ in (fetchzip {
|
||||
license = licenses.ofl;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
unzip -j $downloadedFile
|
||||
|
||||
for i in *.ttf; do
|
||||
local destname="$(echo "$i" | sed -E 's|-[[:digit:].]+\.ttf$|.ttf|')"
|
||||
install -Dm 644 "$i" "$out/share/fonts/truetype/$destname"
|
||||
done
|
||||
|
||||
install -Dm 644 COPYING "$out/share/doc/terminus-font-ttf/COPYING"
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,15 +1,25 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "theano";
|
||||
version = "2.0";
|
||||
name = "theano-${version}";
|
||||
in (fetchzip rec {
|
||||
inherit name;
|
||||
|
||||
url = "https://github.com/akryukov/theano/releases/download/v${version}/theano-${version}.otf.zip";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/akryukov/theano/releases/download/v${version}/theano-${version}.otf.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-9wnwHcRHB+AToOvGwZSXvHkQ8hqMd7Sdl26Ty/IwbPw=";
|
||||
};
|
||||
|
||||
sha256 = "1my1symb7k80ys33iphsxvmf6432wx6vjdnxhzhkgrang1rhx1h8";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
mkdir -p $out/share/doc/${pname}-${version}
|
||||
cp *.otf $out/share/fonts/opentype
|
||||
cp *.txt $out/share/doc/${pname}-${version}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/akryukov/theano";
|
||||
@@ -18,11 +28,4 @@ in (fetchzip rec {
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
mkdir -p $out/share/doc/${name}
|
||||
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile \*.txt -d "$out/share/doc/${name}"
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,15 +1,23 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "times-newer-roman";
|
||||
version = "unstable-2018-09-11";
|
||||
in
|
||||
(fetchzip {
|
||||
name = "times-newer-roman-${version}";
|
||||
|
||||
url = "https://web.archive.org/web/20210609022835/https://timesnewerroman.com/assets/TimesNewerRoman.zip";
|
||||
src = fetchzip {
|
||||
url = "https://web.archive.org/web/20210609022835/https://timesnewerroman.com/assets/TimesNewerRoman.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-wO4rxyJNQyhRLpswCYKXdeiXy5G+iWyxulYCHZb60QM=";
|
||||
};
|
||||
|
||||
hash = "sha256-Hx59RYLLwfimEQjEEes0lCpg6iql46DFwhQ7kVGiEzc=";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
cp *.otf $out/share/fonts/opentype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A font that looks just like Times New Roman, except each character is 5-10% wider";
|
||||
@@ -18,9 +26,4 @@ in
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,13 +1,23 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
let
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "ultimate-oldschool-pc-font-pack";
|
||||
version = "2.2";
|
||||
in
|
||||
(fetchzip {
|
||||
name = "ultimate-oldschool-pc-font-pack-${version}";
|
||||
url = "https://int10h.org/oldschool-pc-fonts/download/oldschool_pc_font_pack_v${version}_linux.zip";
|
||||
sha256 = "sha256-BOA2fMa2KT3Bkpvj/0DzrzuZbl3RARvNn4qbI/+dApU=";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://int10h.org/oldschool-pc-fonts/download/oldschool_pc_font_pack_v${version}_linux.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-54U8tZzvivTSOgmGesj9QbIgkSTm9w4quMhsuEc0Xy4=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp */*.ttf $out/share/fonts/truetype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "The Ultimate Oldschool PC Font Pack (TTF Fonts)";
|
||||
@@ -16,9 +26,4 @@ in
|
||||
license = licenses.cc-by-sa-40;
|
||||
maintainers = [ maintainers.endgame ];
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch= ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,12 +1,21 @@
|
||||
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
||||
{ lib, fetchzip }:
|
||||
let name = "undefined-medium-1.0";
|
||||
in (fetchzip rec {
|
||||
inherit name;
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
url = "https://github.com/andirueckel/undefined-medium/archive/v1.0.zip";
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "undefined-medium";
|
||||
version = "1.0";
|
||||
|
||||
sha256 = "1wa04jzbffshwcxm705yb5wja8wakn8j7fvim1mlih2z1sqw0njk";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/andirueckel/undefined-medium/archive/v1.0.zip";
|
||||
hash = "sha256-HG+V7jR7dDI6LeoiCg/8F38lW8Zdo6CyLj2DXy/ff64=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 fonts/otf/*.otf -t $out/share/fonts/opentype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://undefined-medium.com/";
|
||||
@@ -19,9 +28,4 @@ in (fetchzip rec {
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}).overrideAttrs (_: {
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile ${name}/fonts/otf/\*.otf -d $out/share/fonts/opentype
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user