mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
imgcat: New expression 2.3.0
This commit is contained in:
parent
4673962440
commit
fa817fb9f7
33
pkgs/applications/graphics/imgcat/default.nix
Normal file
33
pkgs/applications/graphics/imgcat/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, ncurses }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "imgcat-${version}";
|
||||
version = "2.3.0";
|
||||
|
||||
buildTools = [ autoconf automake libtool ncurses ];
|
||||
|
||||
preConfigure = ''
|
||||
${autoconf}/bin/autoconf
|
||||
sed -i -e "s|-ltermcap|-L ${ncurses}/lib -lncurses|" Makefile
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
makeFlagsArray=(PREFIX="$out");
|
||||
'';
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eddieantonio";
|
||||
repo = "imgcat";
|
||||
rev = "3d854c72f785dce0eecd9485767a7f972d54890c";
|
||||
sha256 = "0m83c33rzxvs0w214njql2c7q3fg06wnyijch3l2s88i7frl121f";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "It's like cat, but for images";
|
||||
homepage = https://github.com/eddieantonio/imgcat;
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ jwiegley ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -17033,6 +17033,8 @@ with pkgs;
|
||||
|
||||
img2pdf = callPackage ../applications/misc/img2pdf { };
|
||||
|
||||
imgcat = callPackage ../applications/graphics/imgcat { };
|
||||
|
||||
# Impressive, formerly known as "KeyJNote".
|
||||
impressive = callPackage ../applications/office/impressive { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user