3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/editors/leafpad/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
706 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, intltool, pkg-config, gtk2 }:
2014-10-23 16:54:56 +01:00
stdenv.mkDerivation rec {
version = "0.8.18.1";
pname = "leafpad";
2014-10-23 16:54:56 +01:00
src = fetchurl {
url = "https://download.savannah.gnu.org/releases/leafpad/${pname}-${version}.tar.gz";
2014-10-23 16:54:56 +01:00
sha256 = "0b0az2wvqgvam7w0ns1j8xp2llslm1rx6h7zcsy06a7j0yp257cm";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ intltool gtk2 ];
2014-10-23 16:54:56 +01:00
hardeningDisable = [ "format" ];
2016-02-12 03:50:09 +00:00
2014-10-23 16:54:56 +01:00
configureFlags = [
"--enable-chooser"
];
meta = with lib; {
description = "A notepad clone for GTK 2.0";
homepage = "http://tarot.freeshell.org/leafpad";
platforms = platforms.linux;
maintainers = [ maintainers.flosse ];
license = licenses.gpl3;
2014-10-23 16:54:56 +01:00
};
}