mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
28 lines
730 B
Nix
28 lines
730 B
Nix
{ lib, stdenv, fetchurl, intltool, pkg-config, gtk2 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.8.19";
|
|
pname = "leafpad";
|
|
src = fetchurl {
|
|
url = "https://download.savannah.gnu.org/releases/leafpad/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-B9P3EvTb0KMyUf0d7hTiGv3J+SCQ/HaMEasKxVatvpc=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config intltool ];
|
|
buildInputs = [ gtk2 ];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
configureFlags = [
|
|
"--enable-chooser"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Notepad clone for GTK 2.0";
|
|
homepage = "http://tarot.freeshell.org/leafpad";
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.flosse ];
|
|
license = licenses.gpl3;
|
|
mainProgram = "leafpad";
|
|
};
|
|
}
|