nixpkgs/pkgs/by-name/jp/jpilot/package.nix

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

55 lines
1021 B
Nix
Raw Normal View History

2024-10-20 15:30:12 +00:00
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
2024-10-23 13:58:35 +00:00
wrapGAppsHook3,
2024-10-20 15:30:12 +00:00
gtk3,
intltool,
libgcrypt,
pilot-link,
pkg-config,
2024-10-23 13:58:35 +00:00
sqlite,
2024-10-20 15:30:12 +00:00
}:
2024-10-23 13:58:35 +00:00
stdenv.mkDerivation rec {
2024-10-20 15:30:12 +00:00
pname = "jpilot";
2024-10-23 13:58:35 +00:00
version = "2.0.2";
2024-10-20 15:30:12 +00:00
src = fetchFromGitHub {
owner = "juddmon";
repo = "jpilot";
2024-10-23 13:58:35 +00:00
rev = "v${lib.replaceStrings [ "." ] [ "_" ] version}";
hash = "sha256-ja/P6kq53C7drEPWemGMV5fB4BktHrbrxL39jLEGhRI=";
2024-10-20 15:30:12 +00:00
};
2024-10-23 13:58:35 +00:00
patches = [ ./darwin-build.patch ]; # https://github.com/juddmon/jpilot/pull/59
2024-10-20 15:30:12 +00:00
nativeBuildInputs = [
autoreconfHook
intltool
pkg-config
2024-10-23 13:58:35 +00:00
wrapGAppsHook3
2024-10-20 15:30:12 +00:00
];
2024-10-23 13:58:35 +00:00
2024-10-20 15:30:12 +00:00
buildInputs = [
gtk3
libgcrypt
2024-10-23 13:58:35 +00:00
sqlite
2024-10-20 15:30:12 +00:00
];
preConfigure = ''
NOCONFIGURE=1 ./autogen.sh
'';
configureFlags = [ "--with-pilot-prefix=${pilot-link}" ];
meta = {
description = "Desktop organizer software for the Palm Pilot";
homepage = "https://www.jpilot.org/";
license = lib.licenses.gpl2;
2024-10-23 13:58:35 +00:00
mainProgram = "jpilot";
2024-10-20 15:30:12 +00:00
maintainers = with lib.maintainers; [ PapayaJackal ];
};
}