nixpkgs/pkgs/desktops/enlightenment/ecrire/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

40 lines
760 B
Nix

{ lib
, stdenv
, fetchurl
, meson
, ninja
, pkg-config
, efl
, directoryListingUpdater
}:
stdenv.mkDerivation rec {
pname = "ecrire";
version = "0.2.0";
src = fetchurl {
url = "http://download.enlightenment.org/rel/apps/${pname}/${pname}-${version}.tar.xz";
sha256 = "1pszk583rzclfqy3dyjh1m9pz1hnr84vqz8vw9kngcnmj23mjr6r";
};
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
efl
];
passthru.updateScript = directoryListingUpdater { };
meta = with lib; {
description = "EFL simple text editor";
mainProgram = "ecrire";
homepage = "https://www.enlightenment.org/";
license = licenses.gpl3Only;
platforms = platforms.linux;
maintainers = teams.enlightenment.members;
};
}