mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
commit
e1f0d24454
@ -1,10 +1,10 @@
|
||||
{ lib, buildEnv, callPackage, makeWrapper }:
|
||||
{ lib, buildEnv, callPackage, makeWrapper, Cocoa }:
|
||||
|
||||
buildEnv {
|
||||
name = "flare-1.10";
|
||||
name = "flare-1.11";
|
||||
|
||||
paths = [
|
||||
(callPackage ./engine.nix {})
|
||||
(callPackage ./engine.nix { inherit Cocoa; })
|
||||
(callPackage ./game.nix {})
|
||||
];
|
||||
|
||||
|
@ -1,18 +1,19 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf }:
|
||||
{ stdenv, fetchFromGitHub, cmake, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, Cocoa }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "flare-engine";
|
||||
version = "1.10";
|
||||
version = "1.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "flareteam";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0fm7jmxl86h8199nazdi9ivsrhcv9gcymhz1l5c6l2f4d0aqdqiq";
|
||||
sha256 = "1j6raymz128miq517h9drks4gj79dajw3lsr0msqxz0z3zm6cc4n";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ SDL2 SDL2_image SDL2_mixer SDL2_ttf ];
|
||||
buildInputs = [ SDL2 SDL2_image SDL2_mixer SDL2_ttf ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin Cocoa;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Free/Libre Action Roleplaying Engine";
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "flare-game";
|
||||
version = "1.10";
|
||||
version = "1.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "flareteam";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1lfra4ww8za08vcgza2jvh3jrwi6zryk4ljyj32lpp9v4ws9hdh4";
|
||||
sha256 = "18m2qfbbaqklm20gnr7wzrwbmylp1jh781a4p1dq0hymqcg92x5l";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
@ -2997,7 +2997,9 @@ in
|
||||
|
||||
flannel = callPackage ../tools/networking/flannel { };
|
||||
|
||||
flare = callPackage ../games/flare { };
|
||||
flare = callPackage ../games/flare {
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
||||
};
|
||||
|
||||
flashbench = callPackage ../os-specific/linux/flashbench { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user