From 6bf23634b2860fab241f71b9de76186b20b5ac7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93lafur=20Bjarki=20Bogason?= Date: Sat, 7 Sep 2024 22:50:28 +0100 Subject: [PATCH] fireplace: init at 0-unstable-2020-02-02 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Apply suggestions from code review Co-authored-by: éclairevoyant <848000+eclairevoyant@users.noreply.github.com> --- pkgs/by-name/fi/fireplace/package.nix | 39 +++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 pkgs/by-name/fi/fireplace/package.nix diff --git a/pkgs/by-name/fi/fireplace/package.nix b/pkgs/by-name/fi/fireplace/package.nix new file mode 100644 index 000000000000..16040a18d56d --- /dev/null +++ b/pkgs/by-name/fi/fireplace/package.nix @@ -0,0 +1,39 @@ +{ + lib, + stdenv, + fetchFromGitHub, + ncurses, +}: +stdenv.mkDerivation { + pname = "fireplace"; + version = "0-unstable-2020-02-02"; + + buildInputs = [ ncurses ]; + + installPhase = '' + runHook preInstall + + install -Dm555 fireplace -t $out/bin + + runHook postInstall + ''; + + src = fetchFromGitHub { + owner = "Wyatt915"; + repo = "fireplace"; + rev = "aa2070b73be9fb177007fc967b066d88a37e3408"; + hash = "sha256-2NUE/zaFoGwkZxgvVCYXxToiL23aVUFwFNlQzEq9GEc="; + }; + + meta = { + description = "Cozy fireplace in your terminal"; + homepage = "https://github.com/Wyatt915/fireplace"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ + multivac61 + eclairevoyant + ]; + mainProgram = "fireplace"; + platforms = lib.platforms.all; + }; +}