diff options
author | figsoda <figsoda@pm.me> | 2023-08-22 10:25:20 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2023-08-22 10:25:20 -0400 |
commit | be74b2f61e9314459f7381aab2f265857a6c5f2d (patch) | |
tree | e5c733c35cfcc170a98162e8825bcf8017553496 /pkgs/tools/text | |
parent | 044b56eb42730951627bbb7369bc7b2278207dec (diff) | |
download | nixlib-be74b2f61e9314459f7381aab2f265857a6c5f2d.tar nixlib-be74b2f61e9314459f7381aab2f265857a6c5f2d.tar.gz nixlib-be74b2f61e9314459f7381aab2f265857a6c5f2d.tar.bz2 nixlib-be74b2f61e9314459f7381aab2f265857a6c5f2d.tar.lz nixlib-be74b2f61e9314459f7381aab2f265857a6c5f2d.tar.xz nixlib-be74b2f61e9314459f7381aab2f265857a6c5f2d.tar.zst nixlib-be74b2f61e9314459f7381aab2f265857a6c5f2d.zip |
clima: init at 1.1.0
https://github.com/Canop/clima
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r-- | pkgs/tools/text/clima/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/tools/text/clima/default.nix b/pkgs/tools/text/clima/default.nix new file mode 100644 index 000000000000..cfa39590a714 --- /dev/null +++ b/pkgs/tools/text/clima/default.nix @@ -0,0 +1,33 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, stdenv +, darwin +}: + +rustPlatform.buildRustPackage rec { + pname = "clima"; + version = "1.1.0"; + + src = fetchFromGitHub { + owner = "Canop"; + repo = "clima"; + rev = "v${version}"; + hash = "sha256-CRnAxhkuCTyHR4uQofA51Dm3+YKqm3iwBkFNkbLTv1A="; + }; + + cargoHash = "sha256-jKY+Ta6lqMBUlqSViKk3W0CiO8oU+ucmleKDYRA54HQ="; + + buildInputs = lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.Security + ]; + + meta = with lib; { + description = "A minimal viewer for Termimad"; + homepage = "https://github.com/Canop/clima"; + changelog = "https://github.com/Canop/clima/releases/tag/${src.rev}"; + license = licenses.mit; + maintainers = with maintainers; [ figsoda ]; + mainProgram = "clima"; + }; +} |