default.nix (622B)
1 { lib, fetchFromGitHub, buildGoModule }: 2 3 buildGoModule rec { 4 pname = "odict"; 5 version = "2021-01-08"; 6 7 src = fetchFromGitHub { 8 owner = "TheOpenDictionary"; 9 repo = pname; 10 rev = "639dbab4feac15c4f69049bfb9b7bcfecaf68b47"; 11 hash = "sha256-cshWHsFTcejNNz/95FNkadXx8XWOW0fjlJTl4POR07k="; 12 }; 13 14 vendorSha256 = "sha256-+gHYFbCZkfsfsdSZvmbQho4JUn3RRQpKBcxrylpaB9g="; 15 16 meta = with lib; { 17 description = "A blazingly-fast portable dictionary file format"; 18 homepage = "https://odict.org/"; 19 license = licenses.gpl3; 20 maintainers = [ maintainers.sikmir ]; 21 platforms = platforms.unix; 22 }; 23 }