diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2020-12-08 05:51:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-08 05:51:11 +0100 |
commit | 4085eecbc053b04c3cc2b86da462f6f6e948d2fd (patch) | |
tree | 242a651a3e66776852a210b5a0d02ddbab1cad5d /pkgs | |
parent | 9e135af77ba2a4baca69fdfe151b2a65e49e3076 (diff) | |
parent | ff7f34e7bf598377072ac878390e000370b98fac (diff) |
Merge pull request #101937 from penguwin/img-cat
img-cat: init at 1.2.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/graphics/img-cat/default.nix | 22 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/img-cat/default.nix b/pkgs/applications/graphics/img-cat/default.nix new file mode 100644 index 000000000000..a4985c4e2c70 --- /dev/null +++ b/pkgs/applications/graphics/img-cat/default.nix @@ -0,0 +1,22 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "imgcat"; + version = "1.2.0"; + + src = fetchFromGitHub { + owner = "trashhalo"; + repo = "imgcat"; + rev = "v${version}"; + sha256 = "0x7a1izsbrbfph7wa9ny9r4a8lp6z15qpb6jf8wsxshiwnkjyrig"; + }; + + vendorSha256 = "191gi4c5jk8p9xvbm1cdhk5yi8q2cp2jvjq1sgxqw1ad0lppwhg2"; + + meta = with lib; { + description = "A tool to output images as RGB ANSI graphics on the terminal"; + homepage = "https://github.com/trashhalo/imgcat"; + license = licenses.mit; + maintainers = with maintainers; [ penguwin ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 54e9f0b47854..5030aecc2083 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22077,6 +22077,8 @@ in imgcat = callPackage ../applications/graphics/imgcat { }; + img-cat = callPackage ../applications/graphics/img-cat { }; + imgp = python3Packages.callPackage ../applications/graphics/imgp { }; # Impressive, formerly known as "KeyJNote". |