cbonsai: init at 1.0.0

This commit is contained in:
Michael Fellinger 2021-03-04 11:41:15 +01:00
parent c4c5bf8b7c
commit 75078f712d
No known key found for this signature in database
GPG Key ID: 21627A759AC31948
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ stdenv, lib, fetchFromGitLab, ncurses, pkg-config, nix-update-script }:
stdenv.mkDerivation rec {
version = "1.0.0";
pname = "cbonsai";
src = fetchFromGitLab {
owner = "jallbrit";
repo = pname;
rev = "v${version}";
sha256 = "1jc34j627pnyjgs8hjxqaa89j24gyf0rq9w61mkhgg0kria62as7";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ ncurses ];
installFlags = [ "PREFIX=$(out)" ];
passthru.updateScript = nix-update-script { attrPath = pname; };
meta = with lib; {
description = "Grow bonsai trees in your terminal";
homepage = "https://gitlab.com/jallbrit/cbonsai";
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ manveru ];
platforms = platforms.unix;
};
}

View File

@ -26739,6 +26739,8 @@ in
cataclysm-dda-git = cataclysmDDA.git.tiles;
cbonsai = callPackage ../games/cbonsai { };
chessdb = callPackage ../games/chessdb { };
chessx = libsForQt5.callPackage ../games/chessx { };