diff options
author | papojari <papojari-git.ovoid@aleeas.com> | 2022-06-11 21:02:49 +0200 |
---|---|---|
committer | papojari <papojari-git.ovoid@aleeas.com> | 2022-06-11 21:02:49 +0200 |
commit | 4c05d15a08b4a600743287b742d3a88f256fdc5b (patch) | |
tree | f4159f1031bd8bfaa5951d7ecc34dd1dc37a720c /pkgs/tools/misc/colorpanes | |
parent | 5bc0350e7cfe42218bf914ecec80c9a846642ca5 (diff) |
colorpanes: init at 3.0.1
Diffstat (limited to 'pkgs/tools/misc/colorpanes')
-rw-r--r-- | pkgs/tools/misc/colorpanes/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/misc/colorpanes/default.nix b/pkgs/tools/misc/colorpanes/default.nix new file mode 100644 index 0000000000000..7028232c367d5 --- /dev/null +++ b/pkgs/tools/misc/colorpanes/default.nix @@ -0,0 +1,27 @@ +{ lib, rustPlatform, fetchFromGitea }: + +rustPlatform.buildRustPackage rec { + pname = "colorpanes"; + version = "3.0.1"; + + src = fetchFromGitea { + domain = "codeberg.org"; + owner = "papojari"; + repo = pname; + rev = "v${version}"; + sha256 = "qaOH+LXNDq+utwyI1yzHWNt25AvdAXCTAziGV9ElroU="; + }; + + cargoSha256 = "eJne4OmV4xHxntTb8HE+2ghX1hZLE3WQ3QqsjVm9E4M="; + + postInstall = '' + ln -s $out/bin/colp $out/bin/colorpanes + ''; + + meta = with lib; { + description = "Panes in the 8 bright terminal colors with shadows of the respective darker color"; + homepage = "https://codeberg.org/papojari/colorpanes"; + license = licenses.lgpl3Only; + maintainers = with maintainers; [ papojari ]; + }; +} |