nvimpager: 0.10 -> 0.10.4
This commit is contained in:
parent
dc19eaec1b
commit
145cae0189
|
@ -6,13 +6,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "nvimpager";
|
pname = "nvimpager";
|
||||||
version = "0.10";
|
version = "0.10.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "lucc";
|
owner = "lucc";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-okYnPwuxU/syxcKIMUBc25r791D6Bug2w2axH4vvmAY=";
|
sha256 = "sha256-0guSL4RvYQFwok7zGuevhQY6DHjnETRLpEIEQfGslcg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -26,9 +26,6 @@ stdenv.mkDerivation rec {
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
patchShebangs nvimpager
|
patchShebangs nvimpager
|
||||||
substituteInPlace nvimpager --replace ':-nvim' ':-${neovim}/bin/nvim'
|
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;
|
doCheck = true;
|
||||||
|
|
Loading…
Reference in a new issue