mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #118636 from IvarWithoutBones/init/antsim
antsimulator: init at 1.2
This commit is contained in:
commit
0fcc3a1925
29
pkgs/games/antsimulator/default.nix
Normal file
29
pkgs/games/antsimulator/default.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ lib, stdenv, fetchFromGitHub, cmake, sfml }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "antsimulator";
|
||||||
|
version = "1.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "johnBuffer";
|
||||||
|
repo = "AntSimulator";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0wz80971rf86kb7mcnxwrq75vriwhmyir5s5n3wzml12rzfnj5f1";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
buildInputs = [ sfml ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
install -Dm755 ./AntSimulator $out/bin/antsimulator
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/johnBuffer/AntSimulator";
|
||||||
|
description = "Simple Ants simulator";
|
||||||
|
license = licenses.free;
|
||||||
|
maintainers = with maintainers; [ ivar ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
@ -154,6 +154,8 @@ in
|
|||||||
|
|
||||||
ankisyncd = callPackage ../servers/ankisyncd { };
|
ankisyncd = callPackage ../servers/ankisyncd { };
|
||||||
|
|
||||||
|
antsimulator = callPackage ../games/antsimulator { };
|
||||||
|
|
||||||
fiche = callPackage ../servers/fiche { };
|
fiche = callPackage ../servers/fiche { };
|
||||||
|
|
||||||
fishnet = callPackage ../servers/fishnet { };
|
fishnet = callPackage ../servers/fishnet { };
|
||||||
|
Loading…
Reference in New Issue
Block a user