xdg_open_ng: 0.3.2 -> 0.4.0

This commit is contained in:
Emery Hemingway 2022-05-19 12:12:15 -05:00
parent cd206c61a0
commit 7687be15a6
1 changed files with 10 additions and 3 deletions

View File

@ -2,7 +2,7 @@
buildNimPackage rec { buildNimPackage rec {
pname = "xdg_open_ng"; pname = "xdg_open_ng";
version = "0.3.2"; version = "0.4.0";
nimBinOnly = true; nimBinOnly = true;
src = fetchFromGitea { src = fetchFromGitea {
@ -10,7 +10,7 @@ buildNimPackage rec {
owner = "ehmry"; owner = "ehmry";
repo = pname; repo = pname;
rev = "${pname}-${version}"; rev = "${pname}-${version}";
hash = "sha256-KfMXcoFhhPTW/JuMdUGCqvEOubaDF3gf6+Rko1+s8FQ="; hash = "sha256-8Ox6ypxbn3X+Yj0VIaHF5JLvoTknPoYf/xYIMwyyfWg=";
}; };
propagatedBuildInputs = [ syndicate ]; propagatedBuildInputs = [ syndicate ];
@ -19,7 +19,14 @@ buildNimPackage rec {
name = "xdg-open"; name = "xdg-open";
desktopName = "Syndicate URI dispatcher (xdg-open)"; desktopName = "Syndicate URI dispatcher (xdg-open)";
exec = "${name} %U"; exec = "${name} %U";
mimeTypes = [ "all/all" ]; mimeTypes = [
"all/all"
"application/xhtml+xml"
"text/html"
"text/xml"
"x-scheme-handler/http"
"x-scheme-handler/https"
];
}; };
postInstall = '' postInstall = ''