mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
freerct: init at 0.1
This commit is contained in:
parent
8ab15cde89
commit
91b80e0295
@ -10,6 +10,7 @@ let
|
||||
blueprint-compiler = callPackage ./blueprint-compiler.nix { };
|
||||
butler = callPackage ./butler.nix { };
|
||||
clidle = callPackage ./clidle.nix { };
|
||||
freerct = callPackage ./freerct.nix { };
|
||||
distant = callPackage ./distant.nix { };
|
||||
devdocs-desktop = callPackage ./devdocs-desktop.nix { };
|
||||
doggo = callPackage ./doggo.nix { };
|
||||
|
31
pkgs/freerct.nix
Normal file
31
pkgs/freerct.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user