Skip to content

Commit

Permalink
bespoke/pkgs/lua-packages: Add moonpick-vim, other minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Shados committed Feb 4, 2020
1 parent b39160a commit 3934dc2
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bespoke/pkgs/lua-packages/earthshine.nix
Expand Up @@ -24,7 +24,7 @@ buildLuarocksPackage rec {
homepage = https://github.com/Shados/earthshine;
hydraPlatforms = platforms.linux;
maintainers = with maintainers; [ arobyn ];
license = licenses.mit;
license = licenses.bsd2;
};
}

30 changes: 30 additions & 0 deletions bespoke/pkgs/lua-packages/moonpick-vim.nix
@@ -0,0 +1,30 @@
{ stdenv, moonscript, buildLuarocksPackage, fetchFromGitHub
, moonpick
}:

buildLuarocksPackage rec {
pname = "moonpick-vim";
version = "scm-1";

src = fetchFromGitHub {
owner = "Shados"; repo = "moonpick-vim";
rev = "3c6493f20a4c88dd14ad351de2a877eadef26f9b";
sha256 = "1wx18bfz8kasvqx3czw4zbm7i2a5gq6xjsxascyrfv2bq0jrgad1";
};
# src = ~/technotheca/artifacts/media/software/lua/moonpick-vim;

propagatedBuildInputs = [
moonscript
moonpick
];

knownRockspec = "${pname}-${version}.rockspec";

meta = with stdenv.lib; {
description = "ALE-based vim integration for moonpick";
homepage = https://github.com/Shados/moonpick-vim;
hydraPlatforms = platforms.linux;
maintainers = with maintainers; [ arobyn ];
license = licenses.mit;
};
}
14 changes: 8 additions & 6 deletions bespoke/pkgs/lua-packages/overlay.nix
Expand Up @@ -20,11 +20,13 @@ let
facade-nvim = callPackage ./facade.nvim.nix {
inherit (self) earthshine;
};
moonpick-vim = callPackage ./moonpick-vim.nix {
};

/* Overrides for generated packages */
inotify = super.inotify.override({
externalDeps = with pkgs; [
{ name = "INOTIFY"; dep = glibc; }
externalDeps = with selfPkgs; [
{ name = "INOTIFY"; dep = glibc.dev; }
];
});

Expand Down Expand Up @@ -58,26 +60,26 @@ let
});

lua-ev = super.lua-ev.override({
buildInputs = with pkgs; [
buildInputs = with selfPkgs; [
libev
];
});

luagraph = super.luagraph.override({
buildInputs = with pkgs; [
buildInputs = with selfPkgs; [
graphviz libtool
];
});

lunix = super.lunix.override({
buildInputs = with pkgs; [
buildInputs = with selfPkgs; [
glibc
];
# { name = "INOTIFY"; dep = glibc; }
});

lyaml = super.lyaml.override({
buildInputs = with pkgs; [
buildInputs = with selfPkgs; [
libyaml
];
});
Expand Down

0 comments on commit 3934dc2

Please sign in to comment.