blob: 5cf8a6d2de331191c97f4ad814e73e747992b733 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
runs,
xmod,
pytestCheckHook,
tdir,
}:
buildPythonPackage rec {
pname = "editor";
version = "1.6.6";
pyproject = true;
src = fetchFromGitHub {
owner = "rec";
repo = "editor";
rev = "v${version}";
hash = "sha256-FVtat3gUsK5Lv6XSkVXj0hY6NkMGw6LxRWMJrZ/cIis=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
runs
xmod
];
nativeCheckInputs = [
pytestCheckHook
tdir
];
pythonImportsCheck = [ "editor" ];
meta = with lib; {
description = "Open the default text editor";
homepage = "https://github.com/rec/editor";
changelog = "https://github.com/rec/editor/blob/${src.rev}/CHANGELOG";
license = licenses.mit;
maintainers = [ ];
};
}
|