1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

chore(fonts): update

This commit is contained in:
Ryan Cao 2023-09-14 11:06:23 +08:00
parent f1d778b319
commit eb4cb1c367
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
4 changed files with 36 additions and 32 deletions

48
flake.lock generated
View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1694401087, "lastModified": 1694611702,
"narHash": "sha256-caHN3IemZMTsaH7J0AyhIbvXjie2iJUlmWSuXcht2k8=", "narHash": "sha256-lMf0iLYHKJqclNYI9JkWpw1VKBL0WnOMeENuChKFIB0=",
"owner": "ryanccn", "owner": "ryanccn",
"repo": "am", "repo": "am",
"rev": "e61ba0ce88183d680e20e23762dbd1bb0ed0df7b", "rev": "3fcc5fece4831e8461429bfa0111b2b039a677e2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -127,11 +127,11 @@
"rust-analyzer-src": "rust-analyzer-src" "rust-analyzer-src": "rust-analyzer-src"
}, },
"locked": { "locked": {
"lastModified": 1694326764, "lastModified": 1694586081,
"narHash": "sha256-qNCKsVu9qxootyx/00MnUHHTNg+Zk4FKU0LLVlOddVI=", "narHash": "sha256-DNAohcMcTJNiFJ2hTTS6R+yaqVU+QVzp1uRsz0Ctiac=",
"owner": "nix-community", "owner": "nix-community",
"repo": "fenix", "repo": "fenix",
"rev": "7d054170988547aadae58d146e51b9e9dcc95ba0", "rev": "b16b1f21654b9490c662f6fd0a8fe3774a4b1606",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -188,11 +188,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1692799911, "lastModified": 1694529238,
"narHash": "sha256-3eihraek4qL744EvQXsK1Ha6C3CR7nnT8X2qWap4RNk=", "narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "f9e7cf818399d17d347f847525c5a5a8032e4e44", "rev": "ff7b65b44d01cf9ba6a71320833626af21126384",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -208,11 +208,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1694375657, "lastModified": 1694585439,
"narHash": "sha256-32X8dcty4vPXx+D4yJPQZBo5hJ1NQikALhevGv6elO4=", "narHash": "sha256-70BlfEsdURx5f8sioj8JuM+R4/SZFyE8UYrULMknxlI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "f7848d3e5f15ed02e3f286029697e41ee31662d7", "rev": "a0ddf43b6268f1717afcda54133dea30435eb178",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -268,11 +268,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1692248770, "lastModified": 1694497842,
"narHash": "sha256-tZeFpETKQGbgnaSIO1AGWD27IyTcBm4D+A9d7ulQ4NM=", "narHash": "sha256-z03v/m0OwcLBok97KcUgMl8ZFw5Xwsi2z+n6nL7JdXY=",
"owner": "LnL7", "owner": "LnL7",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "511177ffe8226c78c9cf6a92a7b5f2df3684956b", "rev": "4496ab26628c5f43d2a5c577a06683c753e32fe2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -283,11 +283,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1694343207, "lastModified": 1694593561,
"narHash": "sha256-jWi7OwFxU5Owi4k2JmiL1sa/OuBCQtpaAesuj5LXC8w=", "narHash": "sha256-WSaIQZ5s9N9bDFkEMTw6P9eaZ9bv39ZhsiW12GtTNM0=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "78058d810644f5ed276804ce7ea9e82d92bee293", "rev": "1697b7d480449b01111e352021f46e5879e47643",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -338,11 +338,11 @@
"rust-analyzer-src": { "rust-analyzer-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1694264019, "lastModified": 1694553088,
"narHash": "sha256-wVKOQWx9CYJRRA1F6UMxVh4F//Ns4rO8DIb3jW60yEw=", "narHash": "sha256-vnPa/OueHI+Dx7NKB34f5SI7Mmz/VSrP+IAoGNKueU0=",
"owner": "rust-lang", "owner": "rust-lang",
"repo": "rust-analyzer", "repo": "rust-analyzer",
"rev": "994df3d6a31d39f11600f30a6df0b744b13937c1", "rev": "15e13561499dbe90ef07cf37a90c1cedafc53e28",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -362,11 +362,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1694398298, "lastModified": 1694571081,
"narHash": "sha256-Hi904+2V5DJhFdEy9DcARSRrGJOlYSILHUC6CgTtuZU=", "narHash": "sha256-VRA+gxhe4aciWTQ5uCKVY2ubOclk18h2aRlLzPbLqMw=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "6c520f2e31f4bebeb29cc4563543de7187013575", "rev": "0282ed291f0e25f30770df5d3f1ca33908ce44a4",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -4,9 +4,10 @@
public-sans public-sans
inriafonts inriafonts
ibm-plex ibm-plex
monocraft
ryan-mono-bin ryan-mono-bin
ryan-term-bin ryan-term-bin
(nerdfonts.override {fonts = ["CascadiaCode"];}) (nerdfonts.override {
fonts = ["CascadiaCode"];
})
]; ];
} }

View file

@ -28,6 +28,9 @@ _: {
"1password/tap/1password-cli" "1password/tap/1password-cli"
]; ];
taps = ["1password/tap"]; taps = [
"1password/tap"
"ryanccn/tap"
];
}; };
} }

View file

@ -1,9 +1,9 @@
(_: prev: let (_: prev: let
version = "2023.09.04"; version = "2023.09.14";
mkFontVariant = { mkFontVariant = {
variant, variant,
sha256, hash,
}: }:
prev.callPackage ({ prev.callPackage ({
lib, lib,
@ -24,7 +24,7 @@
mv $postDir/*.ttf $out/share/fonts/truetype mv $postDir/*.ttf $out/share/fonts/truetype
''; '';
inherit sha256; inherit hash;
meta = with lib; { meta = with lib; {
homepage = "https://github.com/ryanccn/ryan-mono"; homepage = "https://github.com/ryanccn/ryan-mono";
@ -35,11 +35,11 @@
in { in {
ryan-mono-bin = mkFontVariant { ryan-mono-bin = mkFontVariant {
variant = "ryan-mono"; variant = "ryan-mono";
sha256 = "sha256-q3VU2RvkIi67s048D03yxwGCDxW80JPRJCf6jy5pnNc="; hash = "sha256-T5S9tfJZz/5YDXKTir+NHHxwyJZt+z1fkgzpT7sJyEU=";
}; };
ryan-term-bin = mkFontVariant { ryan-term-bin = mkFontVariant {
variant = "ryan-term"; variant = "ryan-term";
sha256 = "sha256-i9+xDfpEHPjLANarS3zFiACuTmw6P1h45EYgudy5QZE="; hash = "sha256-RY7l/RG35fE0AkOHSSwbw3vi2ru++J5Wo/43hmNAySg=";
}; };
}) })