nixpkgs/pkgs/applications/editors/l3afpad/default.nix
Artturin cab4a24c34 treewide: fix lints
Arg to lib.optional is a list

build time tool in buildInputs
2023-03-11 00:55:17 +02:00

26 lines
764 B
Nix

{ lib, stdenv, fetchurl, intltool, pkg-config, gtk3, fetchFromGitHub
, autoreconfHook, wrapGAppsHook }:
stdenv.mkDerivation rec {
version = "unstable-2022-02-14";
pname = "l3afpad";
src = fetchFromGitHub {
owner = "stevenhoneyman";
repo = pname;
rev = "16f22222116b78b7f6a6fd83289937cdaabed624";
sha256 = "sha256-ly2w9jmRlprm/PnyC0LYjrxBVK+J0DLiSpzuTUMZpWA=";
};
nativeBuildInputs = [ pkg-config autoreconfHook wrapGAppsHook intltool ];
buildInputs = [ gtk3 ];
meta = with lib; {
description = "Simple text editor forked from Leafpad using GTK+ 3.x";
homepage = "https://github.com/stevenhoneyman/l3afpad";
platforms = platforms.linux;
maintainers = with maintainers; [ ckie ];
license = licenses.gpl2;
};
}