From 3be3410baa49132393480af58eb544ed03db4a6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Mon, 7 Aug 2023 13:26:53 +0200 Subject: [PATCH] feat(stardict): install coptic dictionary --- configs/stardict.nix | 3 +++ flake.lock | 21 +++++++++++++++++++++ flake.nix | 2 ++ 3 files changed, 26 insertions(+) diff --git a/configs/stardict.nix b/configs/stardict.nix index 918986d..d41566a 100644 --- a/configs/stardict.nix +++ b/configs/stardict.nix @@ -2,6 +2,7 @@ config, pkgs, lib, + inputs, ... }: let dictionaries = { @@ -148,6 +149,7 @@ sha256 = "1pk234pbq4pk55d8sjk0pp9j5sajm82f8804kf2xm2x5p387q1rg"; }; }; + coptic.dictionary = inputs.coptic-dictionary.packages.x86_64-linux.coptic-stardict; russian = { LingvoGermanRussian = pkgs.fetchzip { url = "http://download.huzheng.org/lingvo/stardict-GR-LingvoUniversal-2.4.2.tar.bz2"; @@ -313,6 +315,7 @@ in { (makeStardict "sd-russian" dictionaries.russian) (makeStardict "sd" dictionaries.englishGerman) (makeStardict "jbo" dictionaries.lojban) + (makeStardict "cop" dictionaries.coptic) (makeStardict "sd-turkish" dictionaries.turkish) ]; } diff --git a/flake.lock b/flake.lock index 32a0ae0..3028034 100644 --- a/flake.lock +++ b/flake.lock @@ -58,6 +58,26 @@ "url": "https://cgit.krebsco.de/blessings" } }, + "coptic-dictionary": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1691387620, + "narHash": "sha256-A33LcuoEdy+4136PClX0Utl56ftme6NNmCeP7uunSgE=", + "owner": "kmein", + "repo": "coptic-dictionary", + "rev": "7ad2262f88498f91689515ef6388ad871fc616f3", + "type": "github" + }, + "original": { + "owner": "kmein", + "repo": "coptic-dictionary", + "type": "github" + } + }, "darwin": { "inputs": { "nixpkgs": [ @@ -486,6 +506,7 @@ "root": { "inputs": { "agenix": "agenix", + "coptic-dictionary": "coptic-dictionary", "flake-utils": "flake-utils", "home-manager": "home-manager", "menstruation-backend": "menstruation-backend", diff --git a/flake.nix b/flake.nix index 7fa4728..6506aba 100644 --- a/flake.nix +++ b/flake.nix @@ -3,6 +3,7 @@ inputs = { agenix.url = "github:ryantm/agenix"; + coptic-dictionary.url = "github:kmein/coptic-dictionary"; flake-utils.url = "github:numtide/flake-utils"; home-manager.url = "github:nix-community/home-manager/release-23.05"; menstruation-backend.url = "github:kmein/menstruation.rs"; @@ -27,6 +28,7 @@ agenix.inputs.home-manager.follows = "home-manager"; agenix.inputs.nixpkgs.follows = "nixpkgs"; + coptic-dictionary.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; menstruation-backend.inputs.flake-utils.follows = "flake-utils"; menstruation-backend.inputs.nixpkgs.follows = "nixpkgs";