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