nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchurl,
5 ncurses,
6}:
7stdenv.mkDerivation (finalAttrs: {
8 pname = "moon-buggy";
9 version = "1.1.0";
10
11 buildInputs = [
12 ncurses
13 ];
14
15 src = fetchurl {
16 url = "http://www.seehuhn.de/programs/moon-buggy/moon-buggy-${finalAttrs.version}.tar.gz";
17 sha256 = "sha256-JZrm57GDjEBTKvXA8gzXxhc81cVS7eQIEUBkR1vPxbY=";
18 };
19
20 meta = {
21 description = "Simple character graphics game where you drive some kind of car across the moon's surface";
22 mainProgram = "moon-buggy";
23 license = lib.licenses.gpl2Only;
24 maintainers = [ lib.maintainers.rybern ];
25 platforms = lib.platforms.linux ++ lib.platforms.darwin;
26 homepage = "https://www.seehuhn.de/pages/moon-buggy";
27 };
28})