blob: 3cbf97398953a10129d88c10b6987e03e42c639f (
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
46
47
48
49
|
{
lib,
fetchPypi,
python3Packages,
}:
python3Packages.buildPythonApplication rec {
pname = "bashate";
version = "2.1.1";
pyproject = true;
disabled = python3Packages.pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
hash = "sha256-S6tul3+DBacgU1+Pk/H7QsUh/LxKbCs9PXZx9C8iH0w=";
};
build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [
babel
pbr
setuptools
];
nativeCheckInputs = with python3Packages; [
fixtures
mock
stestr
testtools
];
checkPhase = ''
runHook preCheck
stestr run
runHook postCheck
'';
pythonImportsCheck = [ "bashate" ];
meta = with lib; {
description = "Style enforcement for bash programs";
mainProgram = "bashate";
homepage = "https://opendev.org/openstack/bashate";
license = with licenses; [ asl20 ];
maintainers = teams.openstack.members ++ (with maintainers; [ fab ]);
};
}
|