mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
pls: init at 4.0.3
This commit is contained in:
parent
964a472f41
commit
fd33656e3d
38
pkgs/tools/misc/pls/default.nix
Normal file
38
pkgs/tools/misc/pls/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ lib, python3, fetchFromGitHub }:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "pls";
|
||||
version = "4.0.3";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dhruvkb";
|
||||
repo = "pls";
|
||||
rev = version;
|
||||
sha256 = "sha256-cVTIWSOx3FwF3QPak3eIIIgQ1O9JF5e5ILpcHQ4qI6k=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ python3.pkgs.poetry-core ];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
pyyaml
|
||||
rich
|
||||
];
|
||||
|
||||
checkInputs = with python3.pkgs; [
|
||||
freezegun
|
||||
jsonschema
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "tests/" "--ignore=tests/e2e" ];
|
||||
|
||||
pythonImportsCheck = [ "pls" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://dhruvkb.github.io/pls/";
|
||||
description = "Prettier and powerful ls";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ arjan-s ];
|
||||
};
|
||||
}
|
@ -9401,6 +9401,8 @@ with pkgs;
|
||||
|
||||
plowshare = callPackage ../tools/misc/plowshare { };
|
||||
|
||||
pls = callPackage ../tools/misc/pls { };
|
||||
|
||||
pm2 = nodePackages.pm2;
|
||||
|
||||
pngcheck = callPackage ../tools/graphics/pngcheck { };
|
||||
|
Loading…
Reference in New Issue
Block a user