Merge pull request #146031 from lucc/nvimpager

nvimpager: 0.10 -> 0.10.4
This commit is contained in:
Thiago Kenji Okada
2021-11-14 19:37:55 -03:00
committed by GitHub
+2 -5
View File
@@ -6,13 +6,13 @@
stdenv.mkDerivation rec {
pname = "nvimpager";
version = "0.10";
version = "0.10.4";
src = fetchFromGitHub {
owner = "lucc";
repo = pname;
rev = "v${version}";
sha256 = "sha256-okYnPwuxU/syxcKIMUBc25r791D6Bug2w2axH4vvmAY=";
sha256 = "sha256-0guSL4RvYQFwok7zGuevhQY6DHjnETRLpEIEQfGslcg=";
};
buildInputs = [
@@ -26,9 +26,6 @@ stdenv.mkDerivation rec {
preBuild = ''
patchShebangs nvimpager
substituteInPlace nvimpager --replace ':-nvim' ':-${neovim}/bin/nvim'
# remove git command from makefile as we run from a tarball
# replace with actual timestamp of the commit
substituteInPlace makefile --replace '$(shell git log -1 --no-show-signature --pretty="%ct")' 1623019602
'';
doCheck = true;