blob: f6bd182a3778dfdc8d7bf246ec2d4a6908ada5c3 (
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,
fetchPypi,
fixtures,
pbr,
six,
subunit,
callPackage,
}:
buildPythonPackage rec {
pname = "oslotest";
version = "6.0.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-CHBKOnoEtZtQAu5YTFPKlYn0VU/hAA5nbs4wwZVHgj4=";
};
nativeBuildInputs = [ pbr ];
propagatedBuildInputs = [
fixtures
six
subunit
];
# check in passthru.tests.pytest to escape infinite recursion with other oslo components
doCheck = false;
passthru.tests = {
tests = callPackage ./tests.nix { };
};
pythonImportsCheck = [ "oslotest" ];
meta = {
description = "Oslo test framework";
homepage = "https://github.com/openstack/oslotest";
license = lib.licenses.asl20;
teams = [ lib.teams.openstack ];
};
}
|