Commit a84a96f6 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

luaPackages.papis-nvim: init at 0.7.0-1

parent d575340f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -123,6 +123,7 @@ nui.nvim,,,,,,mrcjkb
nvim-cmp,https://raw.githubusercontent.com/hrsh7th/nvim-cmp/main/nvim-cmp-scm-1.rockspec,,,,,
nvim-nio,,,,,,mrcjkb
pathlib.nvim,,,,,,
papis-nvim,,,,,,GaetanLepage
penlight,,,,,,alerque
plenary.nvim,https://raw.githubusercontent.com/nvim-lua/plenary.nvim/master/plenary.nvim-scm-1.rockspec,,,,5.1,
psl,,,,0.3,,
+23 −0
Original line number Diff line number Diff line
@@ -2930,6 +2930,29 @@ buildLuarocksPackage {
  };
}) {};

papis-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, nui-nvim, pathlib-nvim, sqlite }:
buildLuarocksPackage {
  pname = "papis.nvim";
  version = "0.7.0-1";
  knownRockspec = (fetchurl {
    url    = "mirror://luarocks/papis.nvim-0.7.0-1.rockspec";
    sha256 = "1bza3blszq1kz224zx7k0mn636lnj5rcx5s7q6l3ng8rzddw4isa";
  }).outPath;
  src = fetchzip {
    url    = "https://github.com/jghauser/papis.nvim/archive/16983a7aac24ea787d9b9ac5dce3c35d0077b990.zip";
    sha256 = "0virafyw0d46iwscbs1f1y7ks9jafhq214m17wqdz25srb7hmrxd";
  };

  disabled = luaOlder "5.1";
  propagatedBuildInputs = [ nui-nvim pathlib-nvim sqlite ];

  meta = {
    homepage = "https://github.com/jghauser/papis.nvim";
    description = "Manage your bibliography from within your favourite editor";
    license.fullName = "GPL-3.0";
  };
}) {};

penlight = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luafilesystem }:
buildLuarocksPackage {
  pname = "penlight";