2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchurl, intltool, pkg-config, gtk2 }:
|
2014-10-23 15:54:56 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-12-28 00:03:25 +00:00
|
|
|
version = "0.8.19";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "leafpad";
|
2014-10-23 15:54:56 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://download.savannah.gnu.org/releases/leafpad/${pname}-${version}.tar.gz";
|
2022-12-28 00:03:25 +00:00
|
|
|
sha256 = "sha256-B9P3EvTb0KMyUf0d7hTiGv3J+SCQ/HaMEasKxVatvpc=";
|
2014-10-23 15:54:56 +00:00
|
|
|
};
|
|
|
|
|
2022-09-25 02:49:25 +00:00
|
|
|
nativeBuildInputs = [ pkg-config intltool ];
|
|
|
|
buildInputs = [ 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"
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-09-03 22:49:40 +00:00
|
|
|
description = "A notepad clone for GTK 2.0";
|
2020-04-01 01:11:51 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|