diff --git a/pkgs/default.nix b/pkgs/default.nix index 5ea1a21d..44213944 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -14,6 +14,7 @@ let devdocs-desktop = callPackage ./devdocs-desktop.nix { }; doggo = callPackage ./doggo.nix { }; emulsion-palette = callPackage ./emulsion-palette.nix { }; + gol-c = callPackage ./gol-c.nix { }; gnome-search-provider-browser-tabs = callPackage ./gnome-search-provider-browser-tabs.nix { }; gnome-search-provider-recoll = callPackage ./gnome-search-provider-recoll.nix { }; gnome-shell-extension-burn-my-windows = diff --git a/pkgs/gol-c.nix b/pkgs/gol-c.nix new file mode 100644 index 00000000..c7889a30 --- /dev/null +++ b/pkgs/gol-c.nix @@ -0,0 +1,22 @@ +{ stdenv, lib, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "GOL-C"; + version = "unstable-2022-03-25"; + + src = fetchFromGitHub { + owner = "FlynnOwen"; + repo = "GOL-C"; + rev = "02c76a178887c88aeff72e906c0dd5edba67aebe"; + sha256 = "sha256-tlNuAIQUIfvTjeWo7O6X0MLSGX1v7yFZTsatY8gWNxA="; + }; + + installPhase = '' + install -Dm755 GOL -t $out/bin + ''; + + meta = with lib; { + description = "Game of Life implementation in C"; + homepage = "https://github.com/FlynnOwen/GOL-C"; + }; +}