git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #8659 from robbinch/pkg-gitfs

gitfs: init at 0.2.5.

commit8212ec8d556ab7d26b07d71bddadcea31c67d0f6 authorlethalman <lucabru@src.gnome.org> dateMon 6 Jul 2015, 11:24 (11 years ago) parente859c5e945ac59
2 files changed+34
pkgs/tools/filesystems/gitfs/default.nix+32 pkgs/top-level/all-packages.nix+2
pkgs/tools/filesystems/gitfs/default.nixnew file+32
@@ -0,0 +1,32 @@
1+{ stdenv, fetchFromGitHub, python, buildPythonPackage, pythonPackages }:
2+
3+buildPythonPackage rec {
4+ name = "gitfs-0.2.5";
5+
6+ src = fetchFromGitHub {
7+ owner = "PressLabs";
8+ repo = "gitfs";
9+ rev = "495c6c52ec3573294ba7b8426ed794eb466cbb82";
10+ sha256 = "04yh6b5ivbviqy5k2768ag75cd5kr8k70ar0d801yvc8hnijvphk";
11+ };
12+
13+ patchPhase = ''
14+ # requirement checks are unnecessary at runtime
15+ echo > requirements.txt
16+ '';
17+
18+ propagatedBuildInputs = with pythonPackages; [ atomiclong fusepy pygit2 ];
19+
20+ meta = {
21+ description = "A FUSE filesystem that fully integrates with git";
22+ longDescription = ''
23+ A git remote repository's branch can be mounted locally,
24+ and any subsequent changes made to the files will be
25+ automatically committed to the remote.
26+ '';
27+ homepage = https://github.com/PressLabs/gitfs;
28+ license = stdenv.lib.licenses.asl20;
29+ platforms = stdenv.lib.platforms.linux;
30+ maintainers = [ stdenv.lib.maintainers.robbinch ];
31+ };
32+}
pkgs/top-level/all-packages.nix+2
@@ -1580,6 +1580,8 @@ let
15801580
15811581 git-hub = callPackage ../applications/version-management/git-and-tools/git-hub { };
15821582
1583+ gitfs = callPackage ../tools/filesystems/gitfs { };
1584+
15831585 gitlab = callPackage ../applications/version-management/gitlab {
15841586 ruby = ruby_2_1_3;
15851587 };