nixpkgs/pkgs/tools/misc/pal/default.nix
Anderson Torres 9a624d10e3 treewide: remove viric from meta.maintainers [orphans]
Since theey is not active from at least six years.

All the packages on this commit became orphans.

---------------------------------------------------------------------------
There are files not covered by this commit, because they will be adopted
soon. Namely:

- pkgs/by-name/zs/zsync/package.nix
- pkgs/games/bsdgames/default.nix
- pkgs/misc/ghostscript/default.nix
- pkgs/os-specific/linux/kernel/perf/default.nix
- pkgs/tools/system/logrotate/default.nix
2024-07-28 11:48:51 -03:00

31 lines
854 B
Nix

{lib, stdenv, fetchurl, glib, gettext, readline, pkg-config }:
stdenv.mkDerivation rec {
pname = "pal";
version = "0.4.3";
src = fetchurl {
url = "mirror://sourceforge/palcal/pal-${version}.tgz";
sha256 = "072mahxvd7lcvrayl32y589w4v3vh7bmlcnhiksjylknpsvhqiyf";
};
patchPhase = ''
sed -i -e 's/-o root//' -e 's,ESTDIR}/etc,ESTDIR}'$out/etc, src/Makefile
sed -i -e 's,/etc/pal\.conf,'$out/etc/pal.conf, src/input.c
'';
makeFlags = [ "prefix=$(out)" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ glib gettext readline ];
hardeningDisable = [ "format" ];
meta = {
homepage = "https://palcal.sourceforge.net/";
description = "Command-line calendar program that can keep track of events";
license = lib.licenses.gpl2Plus;
maintainers = [ ];
platforms = with lib.platforms; linux;
};
}