Merge pull request #71378 from bb010g/git-my

git-my: init at 1.1.2
This commit is contained in:
worldofpeace 2020-02-26 15:54:16 +00:00 committed by GitHub
commit 0babf18003
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 69 additions and 37 deletions

View file

@ -24,7 +24,7 @@ let
bump2version = pkgs.python37Packages.callPackage ./bump2version { };
darcsToGit = callPackage ./darcs-to-git { };
darcs-to-git = callPackage ./darcs-to-git { };
delta = callPackage ./delta { };
@ -40,29 +40,6 @@ let
inherit (darwin.apple_sdk.frameworks) Security;
};
git-appraise = callPackage ./git-appraise {};
git-fame = callPackage ./git-fame {};
git-filter-repo = callPackage ./git-filter-repo {
pythonPackages = python3Packages;
};
gita = python3Packages.callPackage ./gita {};
# The full-featured Git.
gitFull = gitBase.override {
svnSupport = true;
guiSupport = true;
sendEmailSupport = true;
withLibsecret = !stdenv.isDarwin;
};
# Git with SVN support, but without GUI.
gitSVN = lowPrio (appendToName "with-svn" (gitBase.override {
svnSupport = true;
}));
git-annex = pkgs.haskellPackages.git-annex;
git-annex-metadata-gui = libsForQt5.callPackage ./git-annex-metadata-gui {
@ -84,6 +61,8 @@ let
git-annex-utils = callPackage ./git-annex-utils { };
git-appraise = callPackage ./git-appraise {};
git-bug = callPackage ./git-bug { };
# support for bugzilla
@ -101,6 +80,14 @@ let
git-extras = callPackage ./git-extras { };
git-fame = callPackage ./git-fame {};
git-fast-export = callPackage ./fast-export { };
git-filter-repo = callPackage ./git-filter-repo {
pythonPackages = python3Packages;
};
git-gone = callPackage ./git-gone {
inherit (darwin.apple_sdk.frameworks) Security;
};
@ -117,6 +104,8 @@ let
git-machete = python3Packages.callPackage ./git-machete { };
git-my = callPackage ./git-my { };
git-octopus = callPackage ./git-octopus { };
git-open = callPackage ./git-open { };
@ -127,6 +116,8 @@ let
utillinux = if stdenv.isLinux then utillinuxMinimal else utillinux;
};
git-remote-gcrypt = callPackage ./git-remote-gcrypt { };
git-remote-hg = callPackage ./git-remote-hg { };
git-reparent = callPackage ./git-reparent { };
@ -153,9 +144,20 @@ let
git2cl = callPackage ./git2cl { };
gitFastExport = callPackage ./fast-export { };
# The full-featured Git.
gitFull = gitBase.override {
svnSupport = true;
guiSupport = true;
sendEmailSupport = true;
withLibsecret = !stdenv.isDarwin;
};
gitRemoteGcrypt = callPackage ./git-remote-gcrypt { };
# Git with SVN support, but without GUI.
gitSVN = lowPrio (appendToName "with-svn" (gitBase.override {
svnSupport = true;
}));
gita = python3Packages.callPackage ./gita {};
gitflow = callPackage ./gitflow { };
@ -167,34 +169,31 @@ let
inherit (darwin) Security;
};
hubUnstable = throw "use gitAndTools.hub instead";
lab = callPackage ./lab { };
lefthook = callPackage ./lefthook { };
pre-commit = pkgs.python3Packages.toPythonApplication pkgs.python3Packages.pre-commit;
pass-git-helper = python3Packages.callPackage ./pass-git-helper { };
pre-commit = pkgs.python3Packages.toPythonApplication pkgs.python3Packages.pre-commit;
qgit = qt5.callPackage ./qgit { };
stgit = callPackage ./stgit {
};
stgit = callPackage ./stgit { };
subgit = callPackage ./subgit { };
svn-all-fast-export = libsForQt5.callPackage ./svn-all-fast-export { };
svn2git = callPackage ./svn2git {
git = gitSVN;
};
svn-all-fast-export = libsForQt5.callPackage ./svn-all-fast-export { };
thicket = callPackage ./thicket { };
tig = callPackage ./tig { };
topGit = callPackage ./topgit { };
top-git = callPackage ./topgit { };
transcrypt = callPackage ./transcrypt { };
@ -202,8 +201,12 @@ let
} // lib.optionalAttrs (config.allowAliases or true) (with self; {
# aliases
darcsToGit = darcs-to-git;
gitAnnex = git-annex;
gitFastExport = git-fast-export;
gitRemoteGcrypt = git-remote-gcrypt;
svn_all_fast_export = svn-all-fast-export;
topGit = top-git;
});
in
self

View file

@ -0,0 +1,29 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "git-my";
version = "1.1.2";
src = fetchFromGitHub {
owner = "davidosomething";
repo = "git-my";
rev = version;
sha256 = "0jji5zw25jygj7g4f6f3k0p0s9g37r8iad8pa0s67cxbq2v4sc0v";
};
dontBuild = true;
installPhase = ''
install -Dm755 -t "$out"/bin ./git-my
'';
meta = with stdenv.lib; {
description =
"List remote branches if they're merged and/or available locally";
homepage = https://github.com/davidosomething/git-my;
license = licenses.free;
maintainers = with maintainers; [ bb010g ];
platforms = platforms.all;
};
}

View file

@ -85,7 +85,7 @@ in stdenv.mkDerivation rec {
buildInputs =
[ makeWrapper autoconf automake libtool unzip nukeReferences sqlite libpqxx
gitAndTools.topGit mercurial darcs subversion bazaar openssl bzip2 libxslt
gitAndTools.top-git mercurial darcs subversion bazaar openssl bzip2 libxslt
guile # optional, for Guile + Guix support
perlDeps perl nix
postgresql # for running the tests
@ -95,7 +95,7 @@ in stdenv.mkDerivation rec {
hydraPath = lib.makeBinPath (
[ sqlite subversion openssh nix coreutils findutils pixz
gzip bzip2 lzma gnutar unzip git gitAndTools.topGit mercurial darcs gnused bazaar
gzip bzip2 lzma gnutar unzip git gitAndTools.top-git mercurial darcs gnused bazaar
] ++ lib.optionals stdenv.isLinux [ rpm dpkg cdrkit ] );
nativeBuildInputs = [ autoreconfHook pkgconfig ];