nixpkgs/pkgs/desktops/enlightenment/ephoto/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

41 lines
812 B
Nix

{ lib
, stdenv
, fetchurl
, meson
, ninja
, pkg-config
, efl
, directoryListingUpdater
}:
stdenv.mkDerivation rec {
pname = "ephoto";
version = "1.6.0";
src = fetchurl {
url = "http://download.enlightenment.org/rel/apps/${pname}/${pname}-${version}.tar.xz";
sha256 = "1lvhcs4ba8h3z78nyycbww8mj4cscb8k200dcc3cdy8vrvrp7g1n";
};
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
efl
];
passthru.updateScript = directoryListingUpdater { };
meta = with lib; {
description = "Image viewer and editor written using the Enlightenment Foundation Libraries";
mainProgram = "ephoto";
homepage = "https://www.smhouston.us/ephoto/";
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = teams.enlightenment.members;
};
}