2017-08-22 18:54:56 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, efl, pcre, curl, makeWrapper }:
|
2017-04-21 20:22:36 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ephoto-${version}";
|
2017-08-22 18:01:25 +00:00
|
|
|
version = "1.5";
|
2017-04-21 20:22:36 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.smhouston.us/stuff/${name}.tar.gz";
|
2017-08-22 18:01:25 +00:00
|
|
|
sha256 = "09kraa5zz45728h2dw1ssh23b87j01bkfzf977m48y1r507sy3vb";
|
2017-04-21 20:22:36 +00:00
|
|
|
};
|
|
|
|
|
2017-08-22 18:54:56 +00:00
|
|
|
nativeBuildInputs = [ (pkgconfig.override { vanilla = true; }) makeWrapper ];
|
2017-04-21 20:22:36 +00:00
|
|
|
|
2017-08-22 18:54:56 +00:00
|
|
|
buildInputs = [ efl pcre curl ];
|
2017-04-21 20:22:36 +00:00
|
|
|
|
2017-05-01 21:35:16 +00:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/ephoto --prefix LD_LIBRARY_PATH : ${curl.out}/lib
|
|
|
|
'';
|
|
|
|
|
2017-04-21 20:22:36 +00:00
|
|
|
meta = {
|
|
|
|
description = "Image viewer and editor written using the Enlightenment Foundation Libraries";
|
|
|
|
homepage = http://smhouston.us/ephoto/;
|
|
|
|
license = stdenv.lib.licenses.bsd2;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|