Unverified Commit fd39851c authored by LeixB's avatar LeixB
Browse files

vimPlugins.sniprun: 1.3.0 -> 1.3.1

parent 3c59da4b
Loading
Loading
Loading
Loading
+3 −8
Original line number Diff line number Diff line
@@ -852,18 +852,18 @@ self: super: {

  sniprun =
    let
      version = "1.3.0";
      version = "1.3.1";
      src = fetchFromGitHub {
        owner = "michaelb";
        repo = "sniprun";
        rev = "v${version}";
        hash = "sha256-6UDjrrEtOuB+lrCZVBO4BcZm78qwq8YbQcXAdjNbicY=";
        hash = "sha256-grrrqvdqoYTBtlU+HLrSQJsAmMA/+OHbuoVvOwHYPnk=";
      };
      sniprun-bin = rustPlatform.buildRustPackage {
        pname = "sniprun-bin";
        inherit version src;

        cargoSha256 = "sha256-ghXYUgXqXvK9RySG/hQR5zpLsyk6L9Htb/UYgMPyWUk=";
        cargoSha256 = "sha256-hmZXYJFIeKgYyhT6mSrmX+7M9GQQHHzliYHjsBoHgOc=";

        nativeBuildInputs = [ makeWrapper ];

@@ -884,11 +884,6 @@ self: super: {
        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 ];
    };