2016-09-11 21:24:51 +00:00
|
|
|
{ stdenv, fetchurl, intltool, pkgconfig, gtk2 }:
|
2014-10-23 15:54:56 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ intltool gtk2 ];
|
2014-10-23 15:54:56 +00:00
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-12 03:50:09 +00:00
|
|
|
|
2014-10-23 15:54:56 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--enable-chooser"
|
|
|
|
];
|
|
|
|
|
2014-10-23 18:35:02 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-10-23 15:54:56 +00:00
|
|
|
description = "A notepad clone for GTK+ 2.0";
|
|
|
|
homepage = http://tarot.freeshell.org/leafpad;
|
2014-10-23 18:35:02 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.flosse ];
|
|
|
|
license = licenses.gpl3;
|
2014-10-23 15:54:56 +00:00
|
|
|
};
|
|
|
|
}
|