3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/editors/leafpad/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

28 lines
705 B
Nix

{ stdenv, fetchurl, intltool, pkgconfig, gtk2 }:
stdenv.mkDerivation rec {
version = "0.8.18.1";
pname = "leafpad";
src = fetchurl {
url = "https://download.savannah.gnu.org/releases/leafpad/${pname}-${version}.tar.gz";
sha256 = "0b0az2wvqgvam7w0ns1j8xp2llslm1rx6h7zcsy06a7j0yp257cm";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool gtk2 ];
hardeningDisable = [ "format" ];
configureFlags = [
"--enable-chooser"
];
meta = with stdenv.lib; {
description = "A notepad clone for GTK+ 2.0";
homepage = http://tarot.freeshell.org/leafpad;
platforms = platforms.linux;
maintainers = [ maintainers.flosse ];
license = licenses.gpl3;
};
}