<commit_before>{ stdenv, fetchurl, pkgconfig, efl }:

stdenv.mkDerivation rec {
  name = "ephoto-${version}";
  version = "1.0";
  
  src = fetchurl {
    url = "http://www.smhouston.us/stuff/${name}.tar.gz";
    sha256 = "0l6zrk22fap6pylmzxwp6nycy8l5wdc7jza890h4zrwmpfag8w31";
  };

  nativeBuildInputs = [
    pkgconfig
  ];

  buildInputs = [
    efl
 ];

  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"
  ];

  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 ];<commit_msg>ephoto: wrap libcurl.so in LD_LIBRARY_PATH<commit_after>{ stdenv, fetchurl, pkgconfig, efl, curl, makeWrapper }:

stdenv.mkDerivation rec {
  name = "ephoto-${version}";
  version = "1.0";
  
  src = fetchurl {
    url = "http://www.smhouston.us/stuff/${name}.tar.gz";
    sha256 = "0l6zrk22fap6pylmzxwp6nycy8l5wdc7jza890h4zrwmpfag8w31";
  };

  nativeBuildInputs = [ pkgconfig makeWrapper ];

  buildInputs = [ efl curl ];

  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"
  ];

  postInstall = ''
    wrapProgram $out/bin/ephoto --prefix LD_LIBRARY_PATH : ${curl.out}/lib
  '';

  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 ];
{'fraction_non_alphanumeric': 0.17433751743375175, 'fraction_numerical': 0.02882380288238029, 'mean_word_length': 3.203125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5816394', 'n_tokens_mistral': 918, 'n_tokens_neox': 885, 'n_words': 116}