ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / python-lsp-black / default.nix
blobee66ea262c63bd1b8cb19a3d8a572fe37e1bf881
1 { lib
2 , pythonOlder
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pytestCheckHook
6 , black
7 , python-lsp-server
8 , toml
9 }:
11 buildPythonPackage rec {
12   pname = "python-lsp-black";
13   version = "1.2.1";
14   disabled = pythonOlder "3.6";
16   src = fetchFromGitHub {
17     owner = "python-lsp";
18     repo = "python-lsp-black";
19     rev = "v${version}";
20     sha256 = "sha256-qNA6Bj1VI0YEtRuvcMQZGWakQNNrJ2PqhozrLmQHPAg=";
21   };
23   checkInputs = [ pytestCheckHook ];
25   propagatedBuildInputs = [ black python-lsp-server toml ];
27   meta = with lib; {
28     homepage = "https://github.com/python-lsp/python-lsp-black";
29     description = "Black plugin for the Python LSP Server";
30     license = licenses.mit;
31     maintainers = with maintainers; [ cpcloud ];
32   };