blob: 9aebaf81d38cbadb88e64df7621e128dfc84fcca (
plain) (
blame)
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 = "5.0.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-97skDGy+8voLq7lRP/PafQ8ozDja+Y70Oy6ISDZ/vSA=";
};
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 = with lib; {
description = "Oslo test framework";
homepage = "https://github.com/openstack/oslotest";
license = licenses.asl20;
maintainers = teams.openstack.members;
};
}
|