I wanted this on my NixOS machines and had to write a package.nix for it. I figured you might be interested in adding it to the repo or submitting it to nixpkgs. it's not a big file so I'm just including it here:
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "termsand";
version = "0.3.4";
src = fetchFromGitHub {
owner = "cgsdev0";
repo = "termsand";
rev = "00804462415514a6d2db859a41d3cfc85602b6b9";
hash = "sha256-U0AfXzgpG+3tcNaSgeIn9o4v3xfj9pFh4aCIpODNYH8=";
};
cargoLock.lockFile = "${finalAttrs.src}/Cargo.lock";
meta = with lib; {
description = "Falling sand simulation for tmux";
homepage = "https://github.com/cgsdev0/termsand";
license = licenses.mit;
maintainers = [ ];
mainProgram = "termsand";
};
})
I wanted this on my NixOS machines and had to write a
package.nixfor it. I figured you might be interested in adding it to the repo or submitting it to nixpkgs. it's not a big file so I'm just including it here: