git-sync: 0-unstable-2024-02-15 → 0-unstable-2024-11-30
This commit is contained in:
@@ -1,14 +1,24 @@
|
||||
{ lib, stdenv, fetchFromGitHub, coreutils, git, gnugrep, gnused, makeWrapper, inotify-tools }:
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
coreutils,
|
||||
git,
|
||||
gnugrep,
|
||||
gnused,
|
||||
makeWrapper,
|
||||
inotify-tools,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "git-sync";
|
||||
version = "0-unstable-2024-02-15";
|
||||
version = "0-unstable-2024-11-30";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "simonthum";
|
||||
repo = "git-sync";
|
||||
rev = "493b0155fb974b477b6ea623d6e41e13ddad8500";
|
||||
hash = "sha256-hsq+kpB+akjbFKBeHMsP8ibrtygEG2Yf2QW9vFFIano=";
|
||||
rev = "7242291edf543ecc1bb9de8f47086bb69a5cb9f7";
|
||||
hash = "sha256-t1NVgp+ELmTMK0N1fFFJCoKQd8mSYSMAIDG9+kNs3Ok=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
@@ -21,12 +31,15 @@ stdenv.mkDerivation rec {
|
||||
cp -a contrib/git-* $out/bin/
|
||||
'';
|
||||
|
||||
wrapperPath = lib.makeBinPath ([
|
||||
coreutils
|
||||
git
|
||||
gnugrep
|
||||
gnused
|
||||
] ++ lib.optionals stdenv.hostPlatform.isLinux [ inotify-tools ]);
|
||||
wrapperPath = lib.makeBinPath (
|
||||
[
|
||||
coreutils
|
||||
git
|
||||
gnugrep
|
||||
gnused
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [ inotify-tools ]
|
||||
);
|
||||
|
||||
postFixup = ''
|
||||
wrap_path="${wrapperPath}":$out/bin
|
||||
|
||||
Reference in New Issue
Block a user