mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
monaspace: 1.101 -> 1.200
This commit is contained in:
parent
102c779543
commit
c228ddb561
1 changed files with 3 additions and 2 deletions
|
@ -6,12 +6,12 @@
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
pname = "monaspace";
|
pname = "monaspace";
|
||||||
version = "1.101";
|
version = "1.200";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/githubnext/monaspace/releases/download/v${finalAttrs.version}/monaspace-v${finalAttrs.version}.zip";
|
url = "https://github.com/githubnext/monaspace/releases/download/v${finalAttrs.version}/monaspace-v${finalAttrs.version}.zip";
|
||||||
stripRoot = false;
|
stripRoot = false;
|
||||||
hash = "sha256-o5s4XBuwqA4sJ5KhEn5oYttBj4ojekr/LO6Ww9oQRGw=";
|
hash = "sha256-j1xQYVxfTNDVuzCKvT5FbU29t8XsH4XqcZ477sjydts=";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [
|
outputs = [
|
||||||
|
@ -23,6 +23,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
pushd monaspace-v${finalAttrs.version}/fonts/
|
pushd monaspace-v${finalAttrs.version}/fonts/
|
||||||
|
install -Dm644 frozen/*.ttf -t $out/share/fonts/truetype
|
||||||
install -Dm644 otf/*.otf -t $out/share/fonts/opentype
|
install -Dm644 otf/*.otf -t $out/share/fonts/opentype
|
||||||
install -Dm644 variable/*.ttf -t $out/share/fonts/truetype
|
install -Dm644 variable/*.ttf -t $out/share/fonts/truetype
|
||||||
install -Dm644 webfonts/*.woff -t $woff/share/fonts/woff
|
install -Dm644 webfonts/*.woff -t $woff/share/fonts/woff
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue