nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 robotframework,
7 approvaltests,
8 pytest-mockito,
9 pytestCheckHook,
10 typing-extensions,
11}:
12
13buildPythonPackage rec {
14 pname = "robotframework-pythonlibcore";
15 version = "4.5.0";
16
17 pyproject = true;
18
19 src = fetchFromGitHub {
20 owner = "robotframework";
21 repo = "PythonLibCore";
22 tag = "v${version}";
23 hash = "sha256-tkPESNRO34q5yH5Y2iHMQe/z18QiAvvzhjhMafxxUWI=";
24 };
25
26 build-system = [ setuptools ];
27
28 dependencies = [ robotframework ];
29
30 nativeCheckInputs = [
31 approvaltests
32 pytest-mockito
33 pytestCheckHook
34 typing-extensions
35 ];
36
37 pythonImportsCheck = [ "robotlibcore" ];
38
39 meta = {
40 changelog = "https://github.com/robotframework/PythonLibCore/blob/${src.tag}/docs/PythonLibCore-${src.tag}.rst";
41 description = "Tools to ease creating larger test libraries for Robot Framework using Python";
42 homepage = "https://github.com/robotframework/PythonLibCore";
43 license = lib.licenses.asl20;
44 maintainers = with lib.maintainers; [ dotlambda ];
45 };
46}