tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
gitfs: add darwin build
midchildan
5 years ago
92cde6f0
fdc5e719
+7
-1
1 changed file
expand all
collapse all
unified
split
pkgs
tools
filesystems
gitfs
default.nix
+7
-1
pkgs/tools/filesystems/gitfs/default.nix
···
14
patchPhase = ''
15
# requirement checks are unnecessary at runtime
16
echo > requirements.txt
0
0
0
0
0
0
17
'';
18
19
checkInputs = with python3Packages; [ pytest pytestcov mock ];
···
31
'';
32
homepage = "https://github.com/PressLabs/gitfs";
33
license = lib.licenses.asl20;
34
-
platforms = lib.platforms.linux;
35
maintainers = [ lib.maintainers.robbinch ];
36
};
37
}
···
14
patchPhase = ''
15
# requirement checks are unnecessary at runtime
16
echo > requirements.txt
17
+
18
+
# NOTE: As of gitfs 0.5.2, The pygit2 release that upstream uses is a major
19
+
# version behind the one packaged in nixpkgs.
20
+
substituteInPlace gitfs/mounter.py --replace \
21
+
'from pygit2.remote import RemoteCallbacks' \
22
+
'from pygit2 import RemoteCallbacks'
23
'';
24
25
checkInputs = with python3Packages; [ pytest pytestcov mock ];
···
37
'';
38
homepage = "https://github.com/PressLabs/gitfs";
39
license = lib.licenses.asl20;
40
+
platforms = lib.platforms.unix;
41
maintainers = [ lib.maintainers.robbinch ];
42
};
43
}