biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / editor / default.nix
blob5cf8a6d2de331191c97f4ad814e73e747992b733
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   poetry-core,
6   runs,
7   xmod,
8   pytestCheckHook,
9   tdir,
12 buildPythonPackage rec {
13   pname = "editor";
14   version = "1.6.6";
15   pyproject = true;
17   src = fetchFromGitHub {
18     owner = "rec";
19     repo = "editor";
20     rev = "v${version}";
21     hash = "sha256-FVtat3gUsK5Lv6XSkVXj0hY6NkMGw6LxRWMJrZ/cIis=";
22   };
24   nativeBuildInputs = [ poetry-core ];
26   propagatedBuildInputs = [
27     runs
28     xmod
29   ];
31   nativeCheckInputs = [
32     pytestCheckHook
33     tdir
34   ];
36   pythonImportsCheck = [ "editor" ];
38   meta = with lib; {
39     description = "Open the default text editor";
40     homepage = "https://github.com/rec/editor";
41     changelog = "https://github.com/rec/editor/blob/${src.rev}/CHANGELOG";
42     license = licenses.mit;
43     maintainers = [ ];
44   };