Merge pull request #173613 from SuperSamus/itch
commit
e24ce21faa
@ -1,24 +0,0 @@ |
||||
{ lib, writeShellScriptBin, steam-run, fetchurl }: |
||||
let |
||||
|
||||
pname = "itch-setup"; |
||||
version = "1.26.0"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://broth.itch.ovh/itch-setup/linux-amd64/${version}/unpacked/default"; |
||||
hash = "sha256-bcJKqhgZK42Irx12BIvbTDMb/DHEOEXljetlDokF7x8="; |
||||
executable = true; |
||||
}; |
||||
|
||||
in |
||||
(writeShellScriptBin pname ''exec ${steam-run}/bin/steam-run ${src} "$@"'') // { |
||||
|
||||
passthru = { inherit pname version src; }; |
||||
meta = with lib; { |
||||
description = "An installer for the itch.io desktop app"; |
||||
homepage = "https://github.com/itchio/itch-setup"; |
||||
license = licenses.mit; |
||||
platforms = platforms.linux; |
||||
maintainers = with maintainers; [ pasqui23 ]; |
||||
}; |
||||
} |
@ -0,0 +1,29 @@ |
||||
{ lib |
||||
, buildGoModule |
||||
, fetchFromGitHub |
||||
}: |
||||
|
||||
buildGoModule rec { |
||||
pname = "butler"; |
||||
version = "15.21.0"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "itchio"; |
||||
repo = pname; |
||||
rev = "v${version}"; |
||||
sha256 = "sha256-vciSmXR3wI3KcnC+Uz36AgI/WUfztA05MJv1InuOjJM="; |
||||
}; |
||||
|
||||
proxyVendor = true; |
||||
|
||||
vendorSha256 = "sha256-EIl0ZFDKbZopUR22hp5a2vRUu0O1h1O953NrtoNa2x8="; |
||||
|
||||
doCheck = false; |
||||
|
||||
meta = with lib; { |
||||
description = "Command-line itch.io helper"; |
||||
homepage = "https://github.com/itchio/butler"; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ martfont ]; |
||||
}; |
||||
} |
Loading…
Reference in new issue