From e60afd110ccc36e5b30af8b66093eee6a0619c20 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 26 Mar 2022 11:10:38 +0800 Subject: [PATCH] gol-c: init at unstable-2022-03-25 --- pkgs/default.nix | 1 + pkgs/gol-c.nix | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/gol-c.nix 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"; + }; +}