2017-05-01 23:35:16 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, efl, curl, makeWrapper }:
|
2017-04-21 22:22:36 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ephoto-${version}";
|
|
|
|
version = "1.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.smhouston.us/stuff/${name}.tar.gz";
|
|
|
|
sha256 = "0l6zrk22fap6pylmzxwp6nycy8l5wdc7jza890h4zrwmpfag8w31";
|
|
|
|
};
|
|
|
|
|
2017-05-01 23:35:16 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig makeWrapper ];
|
2017-04-21 22:22:36 +02:00
|
|
|
|
2017-05-01 23:35:16 +02:00
|
|
|
buildInputs = [ efl curl ];
|
2017-04-21 22:22:36 +02:00
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = [
|
|
|
|
"-I${efl}/include/ecore-con-1"
|
|
|
|
"-I${efl}/include/ecore-evas-1"
|
|
|
|
"-I${efl}/include/ecore-imf-1"
|
|
|
|
"-I${efl}/include/ecore-input-1"
|
|
|
|
"-I${efl}/include/eet-1"
|
|
|
|
"-I${efl}/include/eldbus-1"
|
|
|
|
"-I${efl}/include/emile-1"
|
|
|
|
"-I${efl}/include/ethumb-1"
|
|
|
|
"-I${efl}/include/ethumb-client-1"
|
|
|
|
];
|
|
|
|
|
2017-05-01 23:35:16 +02:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/ephoto --prefix LD_LIBRARY_PATH : ${curl.out}/lib
|
|
|
|
'';
|
|
|
|
|
2017-04-21 22:22:36 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|