vimPlugins.sniprun: 1.3.0 -> 1.3.1

This commit is contained in:
LeixB 2023-04-21 18:13:14 +02:00
parent 3c59da4b6d
commit fd39851cc6
No known key found for this signature in database

View file

@ -852,18 +852,18 @@ self: super: {
sniprun = sniprun =
let let
version = "1.3.0"; version = "1.3.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "michaelb"; owner = "michaelb";
repo = "sniprun"; repo = "sniprun";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-6UDjrrEtOuB+lrCZVBO4BcZm78qwq8YbQcXAdjNbicY="; hash = "sha256-grrrqvdqoYTBtlU+HLrSQJsAmMA/+OHbuoVvOwHYPnk=";
}; };
sniprun-bin = rustPlatform.buildRustPackage { sniprun-bin = rustPlatform.buildRustPackage {
pname = "sniprun-bin"; pname = "sniprun-bin";
inherit version src; inherit version src;
cargoSha256 = "sha256-ghXYUgXqXvK9RySG/hQR5zpLsyk6L9Htb/UYgMPyWUk="; cargoSha256 = "sha256-hmZXYJFIeKgYyhT6mSrmX+7M9GQQHHzliYHjsBoHgOc=";
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
@ -884,11 +884,6 @@ self: super: {
substituteInPlace lua/sniprun.lua --replace '@sniprun_bin@' ${sniprun-bin} substituteInPlace lua/sniprun.lua --replace '@sniprun_bin@' ${sniprun-bin}
''; '';
postInstall = ''
mkdir $out/doc
ln -s $out/docs/sniprun.txt $out/doc/sniprun.txt
'';
propagatedBuildInputs = [ sniprun-bin ]; propagatedBuildInputs = [ sniprun-bin ];
}; };