Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

itch: init at version v1.24.0 #110012

Closed
wants to merge 4 commits into from

Conversation

Anderssorby
Copy link
Contributor

Add setup for itch.io desktop client. From issue #90233

Motivation for this change

Attempting to add the itch.io desktop client via the itch-setup utility. See issue #90233.

Things done

Tried to base it on other electron app expressions without success.

Currently it is failing, but I'm hoping someone knows how to fix it.

  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • [ x ] NixOS (fails)
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Add setup for itch.io desktop client. From issue NixOS#90233
pkgs/games/itch/default.nix Outdated Show resolved Hide resolved
name = "itch-setup-${version}";

src = fetchurl {
url = "https://github.com/itchio/itch-setup/archive/${version}.tar.gz";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use fetchFromGitHub.

Comment on lines +21 to +23
buildInputs = [
makeWrapper nodejs go glib
];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
buildInputs = [
makeWrapper nodejs go glib
];
buildInputs = [
nodejs go glib
];

homepage = "https://itch.io";
description =
"A desktop application that you can download and run games from itch.io with.";
license = licenses.mit;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing maintainers.

pkgs/games/itch/default.nix Outdated Show resolved Hide resolved
Anderssorby and others added 3 commits January 20, 2021 17:26
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Comment on lines +10 to +13
let
lib = stdenv.lib;
in
stdenv.mkDerivation rec {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
let
lib = stdenv.lib;
in
stdenv.mkDerivation rec {
stdenv.mkDerivation rec {

@@ -0,0 +1,60 @@
{ stdenv
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{ stdenv
{ stdenv
, lib

@@ -26459,6 +26459,8 @@ in
# used as base package for iortcw forks
iortcw_sp = callPackage ../games/iortcw/sp.nix { };

itch = callPackage ../games/itch/default.nix { };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
itch = callPackage ../games/itch/default.nix { };
itch = callPackage ../games/itch/default.nix { };

@stale
Copy link

stale bot commented Jul 21, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jul 21, 2021
@wackbyte
Copy link
Contributor

wackbyte commented Nov 1, 2021

any updates on this?

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Nov 1, 2021
@davidak
Copy link
Member

davidak commented Feb 11, 2022

This PR is superseded by #157921.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants