nixpkgs/pkgs/tools/misc/catimg/default.nix
2019-03-02 11:19:51 -08:00

27 lines
561 B
Nix

{ stdenv, fetchFromGitHub, cmake } :
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "catimg";
version = "2.5.0";
src = fetchFromGitHub {
owner = "posva";
repo = pname;
rev = version;
sha256 = "0n74iczzgxrcq3zpa7ndycb9rinm829yvf81c747q4ngv5q6pzcm";
};
nativeBuildInputs = [ cmake ];
meta = {
license = licenses.mit;
homepage = "https://github.com/posva/catimg";
description = "Insanely fast image printing in your terminal";
maintainers = with maintainers; [ ryantm ];
platforms = platforms.unix;
};
}