Compare commits
No commits in common. "eddb85da99e8031389246b4a6326b10635c1007e" and "e99de3618d05c174102b3038b021b28b92eb0584" have entirely different histories.
eddb85da99
...
e99de3618d
3 changed files with 0 additions and 55 deletions
|
@ -234,7 +234,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
packages = {
|
packages = {
|
||||||
git-repo-go = pkgs.callPackage ./pkgs/git-repo-go { };
|
|
||||||
incus-ui = pkgs.callPackage ./pkgs/incus-ui { };
|
incus-ui = pkgs.callPackage ./pkgs/incus-ui { };
|
||||||
openfga = pkgs.callPackage ./pkgs/openfga { };
|
openfga = pkgs.callPackage ./pkgs/openfga { };
|
||||||
gitu = pkgs.callPackage ./pkgs/gitu { };
|
gitu = pkgs.callPackage ./pkgs/gitu { };
|
||||||
|
@ -254,7 +253,6 @@
|
||||||
name = "dotfiles";
|
name = "dotfiles";
|
||||||
packages = [
|
packages = [
|
||||||
age
|
age
|
||||||
config.packages.git-repo-go
|
|
||||||
inputs'.colmena.packages.colmena
|
inputs'.colmena.packages.colmena
|
||||||
just
|
just
|
||||||
nodejs
|
nodejs
|
||||||
|
|
|
@ -46,5 +46,4 @@ _final: prev: {
|
||||||
openfga = prev.pkgs.callPackage ../pkgs/openfga { };
|
openfga = prev.pkgs.callPackage ../pkgs/openfga { };
|
||||||
gitu = prev.pkgs.callPackage ../pkgs/gitu { };
|
gitu = prev.pkgs.callPackage ../pkgs/gitu { };
|
||||||
zed = prev.pkgs.callPackage ../pkgs/zed { };
|
zed = prev.pkgs.callPackage ../pkgs/zed { };
|
||||||
git-repo-go = prev.pkgs.callPackage ../pkgs/git-repo-go { };
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,52 +0,0 @@
|
||||||
{
|
|
||||||
lib,
|
|
||||||
buildGoModule,
|
|
||||||
fetchFromGitHub,
|
|
||||||
}:
|
|
||||||
buildGoModule rec {
|
|
||||||
pname = "git-repo-go";
|
|
||||||
version = "0.7.8";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "alibaba";
|
|
||||||
repo = "git-repo-go";
|
|
||||||
rev = "v${version}";
|
|
||||||
hash = "sha256-DOsi7JHDobtGLE/nKntm7vE9QrTdzPnO1EnxG7WB2dA=";
|
|
||||||
};
|
|
||||||
|
|
||||||
vendorHash = "sha256-rIk6qPJ3XSMgroHaMyxpjjUrejG/jlvNL7MwW/V2HzQ=";
|
|
||||||
|
|
||||||
ldflags = [
|
|
||||||
"-s"
|
|
||||||
"-w"
|
|
||||||
];
|
|
||||||
|
|
||||||
# doCheck = false;
|
|
||||||
|
|
||||||
checkFlags =
|
|
||||||
let
|
|
||||||
skipTests = [
|
|
||||||
"Test_InstallRepoConfig"
|
|
||||||
"TestRepositoryInit"
|
|
||||||
"TestRepositoryFetch"
|
|
||||||
"TestRepositoryIsUnborn"
|
|
||||||
"TestFindGitWorkSpace"
|
|
||||||
"TestProjectGitInit"
|
|
||||||
"TestLoadRepoWorkSpace"
|
|
||||||
];
|
|
||||||
in
|
|
||||||
[ "-skip=^${builtins.concatStringsSep "$|^" skipTests}$" ];
|
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
mv $out/bin/git-repo-go $out/bin/git-repo
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Git-repo is a command-line tool for centralized workflow, can work with Gerrit, AGit-Flow compatible servers. It is written in Golang, and it can be installed easily without further dependency. It provides an easy-to-use solution for multiple repositories which is introduced by Android repo first, and it can also work with a single repository";
|
|
||||||
homepage = "https://github.com/alibaba/git-repo-go";
|
|
||||||
changelog = "https://github.com/alibaba/git-repo-go/blob/${src.rev}/CHANGELOG.md";
|
|
||||||
license = licenses.asl20;
|
|
||||||
maintainers = with maintainers; [ ];
|
|
||||||
mainProgram = "git-repo-go";
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue