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

Quakespasm: init at 0.92.1 #25160

Merged
merged 2 commits into from May 7, 2017
Merged

Quakespasm: init at 0.92.1 #25160

merged 2 commits into from May 7, 2017

Conversation

m3tti
Copy link

@m3tti m3tti commented Apr 23, 2017

Motivation for this change

Loves Quake1 and wanted to share the love with the nix community

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.


enableParallelBuilding = true;

platforms = ["x86_64-linux"];
Copy link
Contributor

@bennofs bennofs Apr 23, 2017

Choose a reason for hiding this comment

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

this should be moved to meta. also, you probably want to use stdenv.lib.platforms.linux instead of hardcoding x86_64-linux, to allow the package to be built on 32 bit as well.

Quakespasm utilizes either the SDL or SDL2 frameworks, so choose which one
works best for you. SDL is probably less buggy, but SDL2 has nicer features
and smoother mouse input - though no CD support.
'';
Copy link
Member

Choose a reason for hiding this comment

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

do you want to maintain this package?

Copy link
Author

Choose a reason for hiding this comment

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

Hey yes of course that would be nice :D

Copy link
Member

Choose a reason for hiding this comment

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

Then include yourself as maintainer in the meta section and add yourself to lib/maintainers.nix. :)

name = "quakespasm-${version}";
majorVersion = "0.92";
version = "${majorVersion}.1";
platform = "amd64";
Copy link
Member

Choose a reason for hiding this comment

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

Why do you need to define platform here? I think this can be removed as it doesn't do anything (except being an environment variable during the build).

'';

platforms = stdenv.lib.platforms.linux;
maintainer = stdenv.lib.maintainers.m3tti;
Copy link
Member

Choose a reason for hiding this comment

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

We only support maintainers (and then it is a list).

And then you could squash into one commit and force-push to the PR branch.

@7c6f434c 7c6f434c merged commit f79a5fc into NixOS:master May 7, 2017
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

7 participants