python-lsp-black: init at 1.0.0
This commit is contained in:
parent
d6e025edd1
commit
e375b92672
32
pkgs/development/python-modules/python-lsp-black/default.nix
Normal file
32
pkgs/development/python-modules/python-lsp-black/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{ lib
|
||||||
|
, black
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
, python-lsp-server
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "python-lsp-black";
|
||||||
|
version = "1.0.0";
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "python-lsp";
|
||||||
|
repo = "python-lsp-black";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1blxhj70jxb9xfbd4dxqikd262n6dn9dw5qhyml5yvdwxbv0bybc";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ black python-lsp-server ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/python-lsp/python-lsp-black";
|
||||||
|
description = "Black plugin for the Python LSP Server";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ cpcloud ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -5410,6 +5410,8 @@ in {
|
||||||
|
|
||||||
python-juicenet = callPackage ../development/python-modules/python-juicenet { };
|
python-juicenet = callPackage ../development/python-modules/python-juicenet { };
|
||||||
|
|
||||||
|
python-lsp-black = callPackage ../development/python-modules/python-lsp-black { };
|
||||||
|
|
||||||
python-openems = callPackage ../development/python-modules/python-openems { };
|
python-openems = callPackage ../development/python-modules/python-openems { };
|
||||||
|
|
||||||
python-openzwave-mqtt = callPackage ../development/python-modules/python-openzwave-mqtt { };
|
python-openzwave-mqtt = callPackage ../development/python-modules/python-openzwave-mqtt { };
|
||||||
|
|
Loading…
Reference in a new issue