14a1eeff01
GitOrigin-RevId: 6933d068c5d2fcff398e802f7c4e271bbdab6705
27 lines
747 B
Nix
27 lines
747 B
Nix
{ stdenv, lib, fetchFromGitLab, ncurses, pkg-config, nix-update-script }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.1.1";
|
|
pname = "cbonsai";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "jallbrit";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-IgtBHy6JCuTTXL0GNnaRCLrmQ9QDatK15WvrBBvux6s=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|