blob: 84cf5b287410466e0e28fa7f05be7085516fcb72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
wrapGAppsHook3,
gtk3,
intltool,
libgcrypt,
pilot-link,
pkg-config,
sqlite,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "jpilot";
version = "2.0.2";
src = fetchFromGitHub {
owner = "juddmon";
repo = "jpilot";
rev = "v${lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version}";
hash = "sha256-ja/P6kq53C7drEPWemGMV5fB4BktHrbrxL39jLEGhRI=";
};
patches = [ ./darwin-build.patch ]; # https://github.com/juddmon/jpilot/pull/59
nativeBuildInputs = [
autoreconfHook
intltool
pkg-config
wrapGAppsHook3
];
buildInputs = [
gtk3
libgcrypt
sqlite
];
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;
mainProgram = "jpilot";
maintainers = with lib.maintainers; [ PapayaJackal ];
};
})
|