depot/pkgs/by-name/fi/fireplace/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

40 lines
843 B
Nix

{
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=";
};
makeFlags = lib.optional stdenv.hostPlatform.isDarwin [ "CC=cc" ];
meta = {
description = "Cozy fireplace in your terminal";
homepage = "https://github.com/Wyatt915/fireplace";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
multivac61
];
mainProgram = "fireplace";
platforms = lib.platforms.all;
};
}