default.nix (1253B)
1 { callPackage }: 2 let 3 version = "2.4.2"; 4 in 5 { 6 cambridge = callPackage ./base.nix { 7 pname = "cambridge"; 8 inherit version; 9 filename = "bigdict/stardict-Cambridge_Advanced_Learners_Dictionary_3th_Ed-${version}.tar.bz2"; 10 description = "Cambridge Advanced Learners Dictionary 3th Ed. (En-En)"; 11 hash = "sha256-+XEtI7i2SxjcN1JNeRJxXcSYZ31P5xW8XKNDk11xGVc="; 12 }; 13 14 duden = callPackage ./base.nix { 15 pname = "duden"; 16 inherit version; 17 filename = "de/stardict-duden-${version}.tar.bz2"; 18 description = "Duden - mehr als ein Wörterbuch"; 19 hash = "sha256-7kF7aWI+HiMU1kplwhAXsFSeJJiGgG6pq3A0Y2ypQ+I="; 20 }; 21 22 macmillan = callPackage ./base.nix { 23 pname = "macmillan"; 24 inherit version; 25 filename = "bigdict/stardict-Macmillan_English_Dictionary-${version}.tar.bz2"; 26 description = "Macmillan English Dictionary (En-En)"; 27 hash = "sha256-GXl5LE0GiLbMyIgNLMw1nu5Ap94LNB3OYLtEa/vu5PU="; 28 }; 29 30 webster = callPackage ./base.nix { 31 pname = "webster"; 32 inherit version; 33 filename = "bigdict/stardict-Webster_s_Unabridged_3-${version}.tar.bz2"; 34 description = "Webster's Third New International Dictionary, Unabridged (En-En)"; 35 hash = "sha256-6kSc6QKFgUaFYRtWPvWpyA0Cd4eln90t5J40QvodQ74="; 36 }; 37 }