blast: fix and enable strictDeps (#366620)
[NixPkgs.git] / pkgs / by-name / mo / mozcdic-ut-jawiki / package.nix
blobb17b500584168c3befefa6aceae5ad1352806c79
2   lib,
3   fetchFromGitHub,
4   stdenvNoCC,
5   nix-update-script,
6 }:
8 stdenvNoCC.mkDerivation {
9   pname = "mozcdic-ut-jawiki";
10   version = "0-unstable-2024-10-12";
12   src = fetchFromGitHub {
13     owner = "utuhiro78";
14     repo = "mozcdic-ut-jawiki";
15     rev = "a91b76a05c4187420e46ead1cc70c2267148004b";
16     hash = "sha256-EuMxFSiwSFkcpetsQpuQU6yjX4BhSmS1LbVuLacw4w0=";
17   };
19   installPhase = ''
20     runHook preInstall
22     install -Dt $out mozcdic-ut-jawiki.txt.tar.bz2
24     runHook postInstall
25   '';
27   passthru.updateScript = nix-update-script {
28     extraArgs = [
29       "--version"
30       "branch"
31     ];
32   };
34   meta = {
35     description = "Mozc UT Jawiki Dictionary is a dictionary generated from the Japanese Wikipedia for Mozc.";
36     homepage = "https://github.com/utuhiro78/mozcdic-ut-jawiki";
37     license = with lib.licenses; [
38       asl20
39       cc-by-sa-40
40     ];
41     maintainers = with lib.maintainers; [ pineapplehunter ];
42     platforms = lib.platforms.all;
43     # this does not need to be separately built
44     # it only provides some zip files
45     hydraPlatforms = [ ];
46   };