Browse Source

git-repo-1.19

nixos-19.03
Florian Friesdorf 8 years ago
parent
commit
46f627e8f7
  1. 20
      pkgs/applications/version-management/git-repo/default.nix
  2. 4
      pkgs/top-level/all-packages.nix

20
pkgs/applications/version-management/git-repo/default.nix

@ -0,0 +1,20 @@
{ stdenv, fetchurl, python }:
stdenv.mkDerivation {
name = "git-repo-1.19";
src = fetchurl {
url = "https://git-repo.googlecode.com/files/repo-1.19";
sha1 = "e48d46e36194859fe8565e8cbdf4c5d1d8768ef3";
};
unpackPhase = "true";
installPhase = ''
mkdir -p $out/bin
install $src $out/bin/repo
'';
meta = {
homepage = "http://source.android.com/source/downloading.html";
description = "Android's repo management tool";
};
}

4
pkgs/top-level/all-packages.nix

@ -8075,6 +8075,10 @@ let
gitFull = gitAndTools.gitFull;
gitSVN = gitAndTools.gitSVN;
gitRepo = callPackage ../applications/version-management/git-repo {
python = python27;
};
giv = callPackage ../applications/graphics/giv {
pcre = pcre.override { unicodeSupport = true; };
};

Loading…
Cancel
Save