default.nix (645B)
1 { 2 lib, 3 fetchFromGitHub, 4 buildGoModule, 5 testers, 6 odict, 7 }: 8 9 buildGoModule rec { 10 pname = "odict"; 11 version = "1.5.0"; 12 13 src = fetchFromGitHub { 14 owner = "TheOpenDictionary"; 15 repo = "odict"; 16 rev = version; 17 hash = "sha256-2520kNT3aTylE0ZVGuX92z1NehdCKKvGKd8OgdJ1q3M="; 18 }; 19 20 vendorHash = "sha256-8vDlrbdmGfpCLZIU3rxuk004T9om/CGTc8vJElvlP3s="; 21 22 passthru.tests.version = testers.testVersion { package = odict; }; 23 24 meta = { 25 description = "A blazingly-fast portable dictionary file format"; 26 homepage = "https://odict.org/"; 27 license = lib.licenses.gpl3; 28 maintainers = [ lib.maintainers.sikmir ]; 29 }; 30 }