tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
foxtrotgps: 1.2.2+329 -> 1.2.2+331
Hunter Jones
4 years ago
7ad2a73c
e08f5495
+14
-6
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
foxtrotgps
default.nix
+14
-6
pkgs/applications/misc/foxtrotgps/default.nix
···
6
6
srcs = {
7
7
foxtrot = fetchbzr {
8
8
url = "lp:foxtrotgps";
9
9
-
rev = "329";
10
10
-
sha256 = "0fwgnsrah63h1xdgm5xdi5ancrz89shdp5sdzw1qc1m7i9a03rid";
9
9
+
rev = "331";
10
10
+
sha256 = "sha256-/kJv6a3MzAzzwIl98Mqi7jrUJC1kDvouigf9kGtv868=";
11
11
};
12
12
screenshots = fetchbzr {
13
13
url = "lp:foxtrotgps/screenshots";
···
17
17
};
18
18
in stdenv.mkDerivation rec {
19
19
pname = "foxtrotgps";
20
20
-
version = "1.2.2+329";
20
20
+
version = "1.2.2+331";
21
21
22
22
# Pull directly from bzr because gpsd API version 9 is not supported on latest release
23
23
src = srcs.foxtrot;
···
39
39
];
40
40
41
41
postUnpack = ''
42
42
-
cp -R ${srcs.screenshots} $sourceRoot/doc/screenshots
43
43
-
chmod -R u+w $sourceRoot/doc/screenshots
42
42
+
cp -R ${srcs.screenshots} $sourceRoot/doc/screenshots
43
43
+
chmod -R u+w $sourceRoot/doc/screenshots
44
44
+
'';
45
45
+
46
46
+
# Remove when foxtrotgps supports gpsd 3.23.1
47
47
+
# Patch for compatibility with gpsd 3.23.1. This was added for foxtrotgps
48
48
+
# 1.2.2+331. The command can be removed if the build of a newer version
49
49
+
# succeeds without it.
50
50
+
postPatch = ''
51
51
+
substituteInPlace src/gps_functions.c --replace "STATUS_NO_FIX" "STATUS_UNK"
44
52
'';
45
53
46
54
preConfigure = ''
47
47
-
intltoolize --automake --copy --force
55
55
+
intltoolize --automake --copy --force
48
56
'';
49
57
50
58
meta = with lib; {