From c7d4a8e231555d22ce7d6347cdeb761ee638705f Mon Sep 17 00:00:00 2001 From: Viktor Illmer <1476338+v-ji@users.noreply.github.com> Date: Tue, 7 Jan 2025 17:04:20 +0100 Subject: [PATCH 1/2] maintainers: add vji --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 3e1a1e1cbcfe..c6461a2e5ad9 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -24056,6 +24056,12 @@ githubId = 7444430; name = "Radik Islamov"; }; + vji = { + email = "mail@viktor.im"; + github = "v-ji"; + githubId = 1476338; + name = "Viktor Illmer"; + }; vklquevs = { email = "vklquevs@gmail.com"; github = "vklquevs"; From 0cf0f7ca9fa726a4fef2a39c18951af8d6edd433 Mon Sep 17 00:00:00 2001 From: Viktor Illmer <1476338+v-ji@users.noreply.github.com> Date: Tue, 7 Jan 2025 17:05:18 +0100 Subject: [PATCH 2/2] dinish: init at 4.005 --- pkgs/by-name/di/dinish/package.nix | 37 ++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pkgs/by-name/di/dinish/package.nix diff --git a/pkgs/by-name/di/dinish/package.nix b/pkgs/by-name/di/dinish/package.nix new file mode 100644 index 000000000000..7e316fc56e1a --- /dev/null +++ b/pkgs/by-name/di/dinish/package.nix @@ -0,0 +1,37 @@ +{ + lib, + stdenvNoCC, + fetchzip, + nix-update-script, +}: + +stdenvNoCC.mkDerivation rec { + pname = "dinish"; + version = "4.005"; + + src = fetchzip { + url = "https://github.com/playbeing/dinish/releases/download/v${version}/dinish-ttf.zip"; + stripRoot = false; + hash = "sha256-K4JzqzlxOpy4rIF9kdrQlCIyrykDhnF1p1Q8CDMWBqg="; + }; + + installPhase = '' + runHook preInstall + + install -Dm644 *.ttf -t $out/share/fonts/truetype + + runHook postInstall + ''; + + passthru.updateScript = nix-update-script { }; + + meta = with lib; { + homepage = "https://github.com/playbeing/dinish"; + changelog = "https://github.com/playbeing/dinish/blob/v${version}/FONTLOG.txt"; + description = "Modern computer font inspired by DIN 1451"; + longDescription = "DINish is one of many modern computer fonts that were inspired by the lettering of the German Autobahn road signs. It is professionally designed, and usable for body text and captions, even spreadsheets. Its unadorned style is easy to read, and although it is close to a century old maintains a fresh look."; + license = licenses.ofl; + platforms = platforms.all; + maintainers = with maintainers; [ vji ]; + }; +}