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: {
|
||||
pytapo = python-self.callPackage ./pytapo { };
|
||||
brother-ql = python-self.callPackage ./brother-ql { };
|
||||
salt-lint = python-self.callPackage ./salt-lint { };
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -19,4 +18,8 @@ self: super: {
|
|||
#mealie = self.callPackage ./mealie { };
|
||||
gohome = self.callPackage ./gohome { };
|
||||
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
|
||||
, setuptools
|
||||
, lib
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
python3Packages.buildPythonPackage rec {
|
||||
pname = "salt-lint";
|
||||
version = "0.9.2";
|
||||
pyproject = true;
|
||||
|
@ -16,11 +15,12 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
python3Packages.setuptools
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"saltlint"
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
pathspec
|
||||
pyyaml
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
10
test.nix
10
test.nix
|
@ -1,11 +1,9 @@
|
|||
{ pkgs ? import <nixpkgs> { overlays = [ (import ./default.nix) ]; } }:
|
||||
let
|
||||
mypython = pkgs.python3.withPackages (python-pkgs: [
|
||||
python-pkgs.salt-lint
|
||||
]);
|
||||
in
|
||||
# mypython = pkgs.python3.withPackages (python-pkgs: [
|
||||
# python-pkgs.salt-lint
|
||||
# ]);
|
||||
pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
mypython
|
||||
salt-lint
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue