summary refs log tree commit diff
path: root/pkgs/top-level
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-10-02 05:20:49 +0200
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-10-02 05:34:35 +0200
commitab94830c6011b058e9f5875c56e2b9d02220b921 (patch)
tree2fcae79a326b7e627e1fe3c7da68d154bbef15ed /pkgs/top-level
parente38fb2ea25c83af51c401044e348e03f28de8f63 (diff)
downloadnixpkgs-ab94830c6011b058e9f5875c56e2b9d02220b921.tar
nixpkgs-ab94830c6011b058e9f5875c56e2b9d02220b921.tar.gz
nixpkgs-ab94830c6011b058e9f5875c56e2b9d02220b921.tar.bz2
nixpkgs-ab94830c6011b058e9f5875c56e2b9d02220b921.tar.lz
nixpkgs-ab94830c6011b058e9f5875c56e2b9d02220b921.tar.xz
nixpkgs-ab94830c6011b058e9f5875c56e2b9d02220b921.tar.zst
nixpkgs-ab94830c6011b058e9f5875c56e2b9d02220b921.zip
goPackages.git-lfs: init at 1.0.0
Diffstat (limited to 'pkgs/top-level')
-rw-r--r--pkgs/top-level/go-packages.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/top-level/go-packages.nix b/pkgs/top-level/go-packages.nix
index 2bf0a96a5aa..ec9ac07fe9a 100644
--- a/pkgs/top-level/go-packages.nix
+++ b/pkgs/top-level/go-packages.nix
@@ -679,6 +679,26 @@ let
     subPackages = [ "./" ];  # don't try to build test fixtures
   };
 
+  git-lfs = buildFromGitHub {
+    rev = "v1.0.0";
+    owner = "github";
+    repo = "git-lfs";
+    sha256 = "1zlg3rm5yxak6d88brffv1wpj0iq4qgzn6sgg8xn0pbnzxjd1284";
+
+    # Tests fail with 'lfstest-gitserver.go:46: main redeclared in this block'
+    excludedPackages = [ "test" ];
+
+    preBuild = ''
+      pushd go/src/github.com/github/git-lfs
+        go generate ./commands
+      popd
+    '';
+
+    postInstall = ''
+      rm -v $bin/bin/{man,script}
+    '';
+  };
+
   glide = buildFromGitHub {
     rev    = "0.5.0";
     owner  = "Masterminds";