summary refs log tree commit diff
path: root/pkgs/applications/editors/leafpad/default.nix
blob: dd3fb542da7c404ca4de4396b4541a2ed96eb45b (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
27
{ stdenv, fetchurl, intltool, pkgconfig, gtk2 }:

stdenv.mkDerivation rec {
  version = "0.8.18.1";
  name = "leafpad-${version}";
  src = fetchurl {
    url = "http://download.savannah.gnu.org/releases/leafpad/${name}.tar.gz";
    sha256 = "0b0az2wvqgvam7w0ns1j8xp2llslm1rx6h7zcsy06a7j0yp257cm";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ intltool gtk2 ];

  hardeningDisable = [ "format" ];

  configureFlags = [
    "--enable-chooser"
  ];

  meta = with stdenv.lib; {
    description = "A notepad clone for GTK+ 2.0";
    homepage = http://tarot.freeshell.org/leafpad;
    platforms = platforms.linux;
    maintainers = [ maintainers.flosse ];
    license = licenses.gpl3;
  };
}