default.nix (552B)
1 { 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 }: 6 7 buildGoModule rec { 8 pname = "gmnhg"; 9 version = "0.4.2"; 10 11 src = fetchFromGitHub { 12 owner = "tdemin"; 13 repo = "gmnhg"; 14 rev = "v${version}"; 15 hash = "sha256-ob1bt9SX9qFd9GQ5d8g+fS4z+aT9ob3a7iLY8zjUCp8="; 16 }; 17 18 vendorHash = "sha256-Jiud36qgjj7RlJ7LysTlhKQhHK7C116lxbw1Cj2hHmU="; 19 20 meta = { 21 description = "Hugo-to-Gemini Markdown converter"; 22 homepage = "https://github.com/tdemin/gmnhg"; 23 license = lib.licenses.gpl3Plus; 24 maintainers = [ lib.maintainers.sikmir ]; 25 }; 26 }