Added netrw~nvim and salt-lint
This commit is contained in:
parent
2ed60c215f
commit
54336cf9d4
|
@ -6,7 +6,6 @@ self: super: {
|
||||||
packageOverrides = python-self: python-super: {
|
packageOverrides = python-self: python-super: {
|
||||||
pytapo = python-self.callPackage ./pytapo { };
|
pytapo = python-self.callPackage ./pytapo { };
|
||||||
brother-ql = python-self.callPackage ./brother-ql { };
|
brother-ql = python-self.callPackage ./brother-ql { };
|
||||||
salt-lint = python-self.callPackage ./salt-lint { };
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -19,4 +18,8 @@ self: super: {
|
||||||
#mealie = self.callPackage ./mealie { };
|
#mealie = self.callPackage ./mealie { };
|
||||||
gohome = self.callPackage ./gohome { };
|
gohome = self.callPackage ./gohome { };
|
||||||
matrix-alertmanager-receiver = self.callPackage ./matrix-alertmanager-receiver { };
|
matrix-alertmanager-receiver = self.callPackage ./matrix-alertmanager-receiver { };
|
||||||
|
vimPlugins = super.vimPlugins.extend ( self': super': {
|
||||||
|
netrw-nvim = super.callPackage ./netrw-nvim { };
|
||||||
|
});
|
||||||
|
salt-lint = super.callPackage ./salt-lint { };
|
||||||
}
|
}
|
||||||
|
|
12
netrw-nvim/default.nix
Normal file
12
netrw-nvim/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{ pkgs
|
||||||
|
, ...
|
||||||
|
}:
|
||||||
|
pkgs.vimUtils.buildVimPlugin {
|
||||||
|
name = "netrw-nvim";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "prichrd";
|
||||||
|
repo = "netrw.nvim";
|
||||||
|
rev = "master";
|
||||||
|
sha256 = "sha256-A4u1JttkLANO2xNf8T9/OAiPjSYgiEkTfvCRc0Sl4Nk=";
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,9 +1,8 @@
|
||||||
{ buildPythonPackage
|
{ python3Packages
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, setuptools
|
|
||||||
, lib
|
, lib
|
||||||
}:
|
}:
|
||||||
buildPythonPackage rec {
|
python3Packages.buildPythonPackage rec {
|
||||||
pname = "salt-lint";
|
pname = "salt-lint";
|
||||||
version = "0.9.2";
|
version = "0.9.2";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
@ -16,11 +15,12 @@ buildPythonPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
setuptools
|
python3Packages.setuptools
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
"saltlint"
|
pathspec
|
||||||
|
pyyaml
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
10
test.nix
10
test.nix
|
@ -1,11 +1,9 @@
|
||||||
{ pkgs ? import <nixpkgs> { overlays = [ (import ./default.nix) ]; } }:
|
{ pkgs ? import <nixpkgs> { overlays = [ (import ./default.nix) ]; } }:
|
||||||
let
|
# mypython = pkgs.python3.withPackages (python-pkgs: [
|
||||||
mypython = pkgs.python3.withPackages (python-pkgs: [
|
# python-pkgs.salt-lint
|
||||||
python-pkgs.salt-lint
|
# ]);
|
||||||
]);
|
|
||||||
in
|
|
||||||
pkgs.mkShell {
|
pkgs.mkShell {
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
mypython
|
salt-lint
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue