about summary refs log tree commit diff
path: root/pkgs/applications/editors/l3afpad/default.nix
blob: f9632def1771619864af13fc9217b0fd1e12d1bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, stdenv, fetchurl, intltool, pkg-config, gtk3, fetchFromGitHub
, autoreconfHook, wrapGAppsHook3 }:

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 wrapGAppsHook3 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;
    mainProgram = "l3afpad";
  };
}