default.nix (752B)
1 { 2 lib, 3 fetchFromSourcehut, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonApplication rec { 8 pname = "qute-gemini"; 9 version = "1.0.0"; 10 format = "other"; 11 12 src = fetchFromSourcehut { 13 owner = "~sotirisp"; 14 repo = "qute-gemini"; 15 rev = "v${version}"; 16 hash = "sha256-0e0DvnhPtdtA2ZSGTaWuMNgVlP6fA1P0cuze7AFG3bM="; 17 }; 18 19 dontUseSetuptoolsBuild = true; 20 dontUseSetuptoolsCheck = true; 21 22 installPhase = '' 23 install -Dm755 qute-gemini{,-tab} -t $out/share/qutebrowser/userscripts 24 ''; 25 26 meta = { 27 description = "A qutebrowser userscripts that allows viewing Gemini pages"; 28 homepage = "https://git.sr.ht/~sotirisp/qute-gemini"; 29 license = lib.licenses.gpl3Plus; 30 maintainers = [ lib.maintainers.sikmir ]; 31 }; 32 }