2019-03-02 19:19:51 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake } :
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "catimg";
|
2019-07-01 09:16:18 +01:00
|
|
|
version = "2.6.0";
|
2019-03-02 19:19:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "posva";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2019-07-01 09:16:18 +01:00
|
|
|
sha256 = "0g9ywbgy162wiam9hc3yqpq5q4gyxa8fj4jskr3fdz8z8jjaabzz";
|
2019-03-02 19:19:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|