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
srcs = {
7
foxtrot = fetchbzr {
8
url = "lp:foxtrotgps";
9
-
rev = "329";
10
-
sha256 = "0fwgnsrah63h1xdgm5xdi5ancrz89shdp5sdzw1qc1m7i9a03rid";
11
};
12
screenshots = fetchbzr {
13
url = "lp:foxtrotgps/screenshots";
···
17
};
18
in stdenv.mkDerivation rec {
19
pname = "foxtrotgps";
20
-
version = "1.2.2+329";
21
22
# Pull directly from bzr because gpsd API version 9 is not supported on latest release
23
src = srcs.foxtrot;
···
39
];
40
41
postUnpack = ''
42
-
cp -R ${srcs.screenshots} $sourceRoot/doc/screenshots
43
-
chmod -R u+w $sourceRoot/doc/screenshots
0
0
0
0
0
0
0
0
44
'';
45
46
preConfigure = ''
47
-
intltoolize --automake --copy --force
48
'';
49
50
meta = with lib; {
···
6
srcs = {
7
foxtrot = fetchbzr {
8
url = "lp:foxtrotgps";
9
+
rev = "331";
10
+
sha256 = "sha256-/kJv6a3MzAzzwIl98Mqi7jrUJC1kDvouigf9kGtv868=";
11
};
12
screenshots = fetchbzr {
13
url = "lp:foxtrotgps/screenshots";
···
17
};
18
in stdenv.mkDerivation rec {
19
pname = "foxtrotgps";
20
+
version = "1.2.2+331";
21
22
# Pull directly from bzr because gpsd API version 9 is not supported on latest release
23
src = srcs.foxtrot;
···
39
];
40
41
postUnpack = ''
42
+
cp -R ${srcs.screenshots} $sourceRoot/doc/screenshots
43
+
chmod -R u+w $sourceRoot/doc/screenshots
44
+
'';
45
+
46
+
# Remove when foxtrotgps supports gpsd 3.23.1
47
+
# Patch for compatibility with gpsd 3.23.1. This was added for foxtrotgps
48
+
# 1.2.2+331. The command can be removed if the build of a newer version
49
+
# succeeds without it.
50
+
postPatch = ''
51
+
substituteInPlace src/gps_functions.c --replace "STATUS_NO_FIX" "STATUS_UNK"
52
'';
53
54
preConfigure = ''
55
+
intltoolize --automake --copy --force
56
'';
57
58
meta = with lib; {