freerct: init at 0.1

This commit is contained in:
Gabriel Arazas 2022-05-11 22:40:41 +08:00
parent 8ab15cde89
commit 91b80e0295
2 changed files with 32 additions and 0 deletions

View File

@ -10,6 +10,7 @@ let
blueprint-compiler = callPackage ./blueprint-compiler.nix { }; blueprint-compiler = callPackage ./blueprint-compiler.nix { };
butler = callPackage ./butler.nix { }; butler = callPackage ./butler.nix { };
clidle = callPackage ./clidle.nix { }; clidle = callPackage ./clidle.nix { };
freerct = callPackage ./freerct.nix { };
distant = callPackage ./distant.nix { }; distant = callPackage ./distant.nix { };
devdocs-desktop = callPackage ./devdocs-desktop.nix { }; devdocs-desktop = callPackage ./devdocs-desktop.nix { };
doggo = callPackage ./doggo.nix { }; doggo = callPackage ./doggo.nix { };

31
pkgs/freerct.nix Normal file
View File

@ -0,0 +1,31 @@
{ lib, stdenv, fetchFromGitHub, cmake, libpng, SDL2, SDL2_ttf, flex, bison }:
stdenv.mkDerivation rec {
pname = "freerct";
version = "0.1";
src = fetchFromGitHub {
owner = "FreeRCT";
repo = "FreeRCT";
rev = version;
sha256 = "sha256-kftKFB/78LR6aO1ey8G3JQIVfdvp3lS7J9c5gpnw/Os=";
};
nativeBuildInputs = [
cmake
];
buildInputs = [
libpng
SDL2
SDL2_ttf
flex
bison
];
meta = with lib; {
homepage = "https://freerct.net/";
description = "Free and open source game aiming to capture the look and feel of RollerCoaster Tycoon.";
license = licenses.gpl2Only;
};
}