default.nix (593B)
1 { 2 lib, 3 buildGoModule, 4 fetchFromSourcehut, 5 scdoc, 6 }: 7 8 buildGoModule rec { 9 pname = "gemgen"; 10 version = "0.6.0"; 11 12 src = fetchFromSourcehut { 13 owner = "~kota"; 14 repo = "gemgen"; 15 rev = "v${version}"; 16 hash = "sha256-2oIgBcdq2tJCKyh5ob2cn2mLRd7YoeRsKy5qqu0+jPk="; 17 }; 18 19 vendorHash = "sha256-KBG7RvWb0nzW9ZSPL1a65Jq9DsSHea8bKLvz6Ft5FsY="; 20 21 nativeBuildInputs = [ scdoc ]; 22 23 meta = { 24 description = "Markdown to Gemtext generator"; 25 homepage = "https://sr.ht/~kota/gemgen"; 26 license = lib.licenses.gpl3Only; 27 maintainers = [ lib.maintainers.sikmir ]; 28 }; 29 }