Merge staging-next-21.05 into staging-21.05
This commit is contained in:
commit
37c6e07f24
|
@ -1,15 +1,14 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, coreutils, gnugrep, gnused, makeWrapper, git
|
{ lib, stdenv, fetchFromGitHub, coreutils, git, gnugrep, gnused, makeWrapper, inotify-tools }:
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "git-sync";
|
pname = "git-sync";
|
||||||
version = "20151024";
|
version = "unstable-2021-07-14";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "simonthum";
|
owner = "simonthum";
|
||||||
repo = "git-sync";
|
repo = "git-sync";
|
||||||
rev = "eb9adaf2b5fd65aac1e83d6544b9076aae6af5b7";
|
rev = "7d3d34bf3ee2483fba00948f5b97f964b849a590";
|
||||||
sha256 = "01if8y93wa0mwbkzkzx2v1vqh47zlz4k1dysl6yh5rmppd1psknz";
|
sha256 = "sha256-PuYREW5NBkYF1tlcLTbOI8570nvHn5ifN8OIInfNNxI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
@ -18,21 +17,25 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp -a git-sync $out/bin/git-sync
|
cp -a git-* $out/bin/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
wrapperPath = with lib; makeBinPath [
|
wrapperPath = with lib; makeBinPath [
|
||||||
|
inotify-tools
|
||||||
coreutils
|
coreutils
|
||||||
git
|
git
|
||||||
gnugrep
|
gnugrep
|
||||||
gnused
|
gnused
|
||||||
];
|
];
|
||||||
|
|
||||||
fixupPhase = ''
|
postFixup = ''
|
||||||
patchShebangs $out/bin
|
wrap_path="${wrapperPath}":$out/bin
|
||||||
|
|
||||||
wrapProgram $out/bin/git-sync \
|
wrapProgram $out/bin/git-sync \
|
||||||
--prefix PATH : "${wrapperPath}"
|
--prefix PATH : $wrap_path
|
||||||
|
|
||||||
|
wrapProgram $out/bin/git-sync-on-inotify \
|
||||||
|
--prefix PATH : $wrap_path
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in New Issue