2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, fetchurl, intltool, pkg-config, gtk2 }:
|
2014-10-23 17:54:56 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.8.18.1";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "leafpad";
|
2014-10-23 17:54:56 +02:00
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "https://download.savannah.gnu.org/releases/leafpad/${pname}-${version}.tar.gz";
|
2014-10-23 17:54:56 +02:00
|
|
|
sha256 = "0b0az2wvqgvam7w0ns1j8xp2llslm1rx6h7zcsy06a7j0yp257cm";
|
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 23:26:13 +02:00
|
|
|
buildInputs = [ intltool gtk2 ];
|
2014-10-23 17:54:56 +02:00
|
|
|
|
2016-02-26 18:38:15 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-12 04:50:09 +01:00
|
|
|
|
2014-10-23 17:54:56 +02:00
|
|
|
configureFlags = [
|
|
|
|
"--enable-chooser"
|
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-09-04 00:49:40 +02:00
|
|
|
description = "A notepad clone for GTK 2.0";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://tarot.freeshell.org/leafpad";
|
2014-10-23 20:35:02 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.flosse ];
|
|
|
|
license = licenses.gpl3;
|
2014-10-23 17:54:56 +02:00
|
|
|
};
|
|
|
|
}
|